Class UnitOfWorkCacheItem<TValue>
Inheritance
object
UnitOfWorkCacheItem<TValue>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Caching
Assembly: Volo.Abp.Caching.dll
Syntax
public class UnitOfWorkCacheItem<TValue> where TValue : class
Type Parameters
| Name | Description |
|---|---|
| TValue |
Constructors
UnitOfWorkCacheItem()
Declaration
public UnitOfWorkCacheItem()
UnitOfWorkCacheItem(TValue, bool)
Declaration
public UnitOfWorkCacheItem(TValue value, bool isRemoved)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | value | |
| bool | isRemoved |
UnitOfWorkCacheItem(TValue)
Declaration
public UnitOfWorkCacheItem(TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | value |
Properties
IsRemoved
Declaration
public bool IsRemoved { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Value
Declaration
public TValue Value { get; set; }
Property Value
| Type | Description |
|---|---|
| TValue |
Methods
RemoveValue()
Declaration
public UnitOfWorkCacheItem<TValue> RemoveValue()
Returns
| Type | Description |
|---|---|
| UnitOfWorkCacheItem<TValue> |
SetValue(TValue)
Declaration
public UnitOfWorkCacheItem<TValue> SetValue(TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | value |
Returns
| Type | Description |
|---|---|
| UnitOfWorkCacheItem<TValue> |