Show / Hide Table of Contents

Class AbpDistributedCacheOptions

Inheritance
object
AbpDistributedCacheOptions
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 AbpDistributedCacheOptions

Constructors

AbpDistributedCacheOptions()

Declaration
public AbpDistributedCacheOptions()

Properties

CacheConfigurators

Declaration
public List<Func<string, DistributedCacheEntryOptions>> CacheConfigurators { get; set; }
Property Value
Type Description
System.Collections.Generic.List<T><System.Func<T, TResult><string, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions>>

GlobalCacheEntryOptions

Declaration
public DistributedCacheEntryOptions GlobalCacheEntryOptions { get; set; }
Property Value
Type Description
Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions

HideErrors

Declaration
public bool HideErrors { get; set; }
Property Value
Type Description
bool

KeyPrefix

Declaration
public string KeyPrefix { get; set; }
Property Value
Type Description
string

Methods

ConfigureCache(string, DistributedCacheEntryOptions)

Declaration
public void ConfigureCache(string cacheName, DistributedCacheEntryOptions options)
Parameters
Type Name Description
string cacheName
Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options

ConfigureCache(Type, DistributedCacheEntryOptions)

Declaration
public void ConfigureCache(Type cacheItemType, DistributedCacheEntryOptions options)
Parameters
Type Name Description
System.Type cacheItemType
Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options

ConfigureCache<TCacheItem>(DistributedCacheEntryOptions)

Declaration
public void ConfigureCache<TCacheItem>(DistributedCacheEntryOptions options)
Parameters
Type Name Description
Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options
Type Parameters
Name Description
TCacheItem

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft