Table of Contents

Constructor UriValidator

Namespace
Skyline.DataMiner.Net.Ticketing.Validators
Assembly
SLNetTypes.dll

UriValidator()

Initializes a new instance of the UriValidator class.

public UriValidator()

Remarks

The instance created by this constructor allows relative or absolute URIs, does not check for well-formedness and has no schemes set.

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.

public UriValidator(UriKind uriKind, HashSet<string> acceptedUriSchemes, bool checkWellFormed)

Parameters

uriKind UriKind

The kind of URIs allowed.

acceptedUriSchemes HashSet<string>

The accepted URI schemes.

checkWellFormed bool

true to check for well-formedness; otherwise, false.