Show / Hide Table of Contents

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)

Declaration
public UnitOfWorkCacheItem(TValue value)
Parameters
Type Name Description
TValue value

UnitOfWorkCacheItem(TValue, bool)

Declaration
public UnitOfWorkCacheItem(TValue value, bool isRemoved)
Parameters
Type Name Description
TValue value
bool isRemoved

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>

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
UnitOfWorkCacheItemExtensions.GetUnRemovedValueOrNull<TValue>(UnitOfWorkCacheItem<TValue>?)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform