Class ProtocolRelativeUriStringOptions
- Namespace
- Cuemon.Text
- Assembly
- Cuemon.Core.dll
Configuration options for FromProtocolRelativeUri().
public class ProtocolRelativeUriStringOptions : IParameterObject
- Inheritance
-
ProtocolRelativeUriStringOptions
- Implements
Constructors
ProtocolRelativeUriStringOptions()
Initializes a new instance of the ProtocolRelativeUriStringOptions class.
public ProtocolRelativeUriStringOptions()
Remarks
The following table shows the initial property values for an instance of ProtocolRelativeUriStringOptions.
Property | Initial Value |
---|---|
Protocol | Https |
RelativeReference | NetworkPathReference |
Properties
Protocol
Gets or sets the protocol to replace the relative reference.
public UriScheme Protocol { get; set; }
Property Value
- UriScheme
The protocol to replace the relative reference.
RelativeReference
Gets or sets the protocol relative reference that needs to be replaced.
public string RelativeReference { get; set; }
Property Value
- String
The protocol relative reference that needs to be replaced.
Exceptions
- ArgumentNullException
value
cannot be null.- ArgumentException
value
cannot be empty or consist only of white-space characters.