Class EntityCacheServiceCollectionExtensions
Inheritance
EntityCacheServiceCollectionExtensions
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public static class EntityCacheServiceCollectionExtensions
Methods
AddEntityCache<TEntity, TKey>(IServiceCollection, DistributedCacheEntryOptions?)
Declaration
public static IServiceCollection AddEntityCache<TEntity, TKey>(this IServiceCollection services, DistributedCacheEntryOptions? cacheOptions = null) where TEntity : Entity<TKey>
Parameters
Returns
Type Parameters
Name |
Description |
TEntity |
|
TKey |
|
AddEntityCache<TEntity, TEntityCacheItem, TKey>(IServiceCollection, DistributedCacheEntryOptions?)
Declaration
public static IServiceCollection AddEntityCache<TEntity, TEntityCacheItem, TKey>(this IServiceCollection services, DistributedCacheEntryOptions? cacheOptions = null) where TEntity : Entity<TKey> where TEntityCacheItem : class
Parameters
Returns
Type Parameters
Name |
Description |
TEntity |
|
TEntityCacheItem |
|
TKey |
|
AddEntityCache<TObjectMapperContext, TEntity, TEntityCacheItem, TKey>(IServiceCollection, DistributedCacheEntryOptions?)
Declaration
public static IServiceCollection AddEntityCache<TObjectMapperContext, TEntity, TEntityCacheItem, TKey>(this IServiceCollection services, DistributedCacheEntryOptions? cacheOptions = null) where TEntity : Entity<TKey> where TEntityCacheItem : class
Parameters
Returns
Type Parameters
Name |
Description |
TObjectMapperContext |
|
TEntity |
|
TEntityCacheItem |
|
TKey |
|