ContentTypePolicy Constructor (IList String ) | Glimpse API Documentation |
Initializes a new instance of the ContentTypePolicy class with the provided contentTypeWhiteList.
Namespace: Glimpse.Core.PolicyAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- contentTypeWhiteList
- Type: System.Collections.Generic IList String
The content type white list to validate against.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Exception thrown if contentTypeWhiteList is null. |
See Also