UriPolicy Constructor (IList(Regex))

Glimpse API

UriPolicy Constructor (IList Regex ) Glimpse API Documentation
Initializes a new instance of the UriPolicy class with the provided uriBlackList.

Namespace: Glimpse.Core.Policy
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public UriPolicy(
	IList<Regex> uriBlackList
)
public UriPolicy(
	IList<Regex> uriBlackList
)

Parameters

uriBlackList
Type: OnlineSystem.Collections.Generic IList OnlineRegex 
The Uri black list to validate against. Regular expressions are also supported in the black list.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if uriBlackList is null.
See Also