ContentTypePolicy Members | Glimpse API Documentation |
The ContentTypePolicy type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ContentTypePolicy |
Initializes a new instance of the ContentTypePolicy class with an empty white list.
| |
ContentTypePolicy(IList String ) |
Initializes a new instance of the ContentTypePolicy class with the provided contentTypeWhiteList.
|
Methods
Name | Description | |
---|---|---|
Configure |
Provides implementations an instance of Section to self populate any end user configuration options.
| |
Equals | (Inherited from Object.) | |
Execute |
Executes the specified policy with the given context.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetTypeOrNull |
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.) | |
ToStringOrDefault |
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.) |
Properties
Name | Description | |
---|---|---|
ContentTypeWhiteList |
Gets or sets the content type white list.
| |
ExecuteOn |
Gets the point in an Http request lifecycle that a policy should execute.
|
See Also