CacheControlDecorator Members
From Glimpse API
| CacheControlDecorator Members | Glimpse API Documentation |
The CacheControlDecorator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CacheControlDecorator(IResourceResult) |
Initializes a new instance of the CacheControlDecorator class.
| |
| CacheControlDecorator(Int64, Nullable CacheSetting , IResourceResult) |
Initializes a new instance of the CacheControlDecorator class.
|
Methods
| Name | Description | |
|---|---|---|
| Decorate |
Decorates the specified context.
(Overrides ResourceResultDecorator Decorate(IResourceResultContext).) | |
| (Inherited from | ||
| Execute |
Executes the resource result with the specified context.
(Inherited from ResourceResultDecorator.) | |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
| GetWrappedObject |
Gets the wrapped object.
(Inherited from ResourceResultDecorator.) | |
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
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 | |
|---|---|---|
| CacheDuration |
Gets or sets the duration of the cache.
| |
| CacheSetting |
Gets or sets the cache directive.
| |
| WrappedResourceResult |
Gets or sets the wrapped resource result.
(Inherited from ResourceResultDecorator.) |
See Also