ContentTypePolicy Constructor (IList(String))

Glimpse API

ContentTypePolicy Constructor (IList String ) Glimpse API Documentation
Initializes a new instance of the ContentTypePolicy class with the provided contentTypeWhiteList.

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

Syntax

public ContentTypePolicy(
	IList<string> contentTypeWhiteList
)
public ContentTypePolicy(
	IList<string> contentTypeWhiteList
)

Parameters

contentTypeWhiteList
Type: OnlineSystem.Collections.Generic IList OnlineString 
The content type white list to validate against.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if contentTypeWhiteList is null.
See Also