Class CacheableObjectResult<T, TOptions>
Provides a base class for ICacheableObjectResult related operations.
Inherited Members
Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public abstract class CacheableObjectResult<T, TOptions> : Configurable<TOptions>, IConfigurable<TOptions>, ICacheableObjectResult where TOptions : class, new()
Type Parameters
Name | Description |
---|---|
T | The type of the object to make cacheable. |
TOptions | The type of the options to the cacheable object. |
Constructors
| Improve this DocCacheableObjectResult(T, Action<TOptions>)
Initializes a new instance of the CacheableObjectResult<T, TOptions> class.
Declaration
protected CacheableObjectResult(T instance, Action<TOptions> setup)
Parameters
Type | Name | Description |
---|---|---|
T | instance | The object to make cacheable. |
System.Action<TOptions> | setup | The System.Action<T> which need to be configured. |
Properties
| Improve this DocValue
Gets or sets the value of the cacheable object.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value of the cacheable object. |
Implements
Extension Methods
See Also
Configurable<TOptions>