CacheControlDecorator Members

Glimpse API

CacheControlDecorator Members Glimpse API Documentation

The CacheControlDecorator type exposes the following members.

Constructors

  NameDescription
Public methodCacheControlDecorator(IResourceResult)
Initializes a new instance of the CacheControlDecorator class.
Public methodCacheControlDecorator(Int64, Nullable CacheSetting , IResourceResult)
Initializes a new instance of the CacheControlDecorator class.
Back to Top
Methods

  NameDescription
Protected methodDecorate
Decorates the specified context.
(Overrides ResourceResultDecorator Decorate(IResourceResultContext).)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodExecute
Executes the resource result with the specified context.
(Inherited from ResourceResultDecorator.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetWrappedObject
Gets the wrapped object.
(Inherited from ResourceResultDecorator.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetTypeOrNull
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.)
Public Extension MethodToStringOrDefault
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.)
Back to Top
Properties

  NameDescription
Public propertyCacheDuration
Gets or sets the duration of the cache.
Public propertyCacheSetting
Gets or sets the cache directive.
Protected propertyWrappedResourceResult
Gets or sets the wrapped resource result.
(Inherited from ResourceResultDecorator.)
Back to Top
See Also