Class UriValidator
Represents a URI validator.
[Serializable]
public class UriValidator : IFieldValidator
- Inheritance
-
UriValidator
- Implements
- Extension Methods
Constructors
- UriValidator()
Initializes a new instance of the UriValidator class.
- UriValidator(UriKind, HashSet<string>, bool)
Initializes a new instance of the UriValidator class using the specified URI kinds and schemes allowed and well-formedness indication.
Properties
- AcceptedUriSchemes
Gets or sets the accepted URI schemes.
- CheckWellFormed
Gets or sets the value indicating whether this validator checks for well-formedness.
- Kind
Gets or sets the kind of URI.
Methods
- Equals(UriValidator)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Calculates the hash code for this object.
- ToString()
Returns a string that represents the current object.
- Validate(IValueWrapper, FieldDescriptor)
Validates the specified value against the specified field descriptor.