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 |