Class ProviderCacheItem
The ProviderCacheItem class is just like a CacheItem class, but it has some limited fields.
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ProviderCacheItem : ProviderItemBase
Constructors
ProviderCacheItem(Object)
Initializes an instance of the CacheItem.
Declaration
public ProviderCacheItem(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The object to initialize the ProviderCacheItem with. |
Methods
GetValue<T>()
Gets value of the CacheItem.
Declaration
public virtual T GetValue<T>()
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
SetValue(Object)
Sets value of the CacheItem.
Declaration
public void SetValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |