Show / Hide Table of Contents

Class EntityCacheServiceCollectionExtensions

Inheritance
object
EntityCacheServiceCollectionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Entities.Caching
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
Type Name Description
IServiceCollection services
DistributedCacheEntryOptions cacheOptions
Returns
Type Description
IServiceCollection
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
Type Name Description
IServiceCollection services
DistributedCacheEntryOptions cacheOptions
Returns
Type Description
IServiceCollection
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
Type Name Description
IServiceCollection services
DistributedCacheEntryOptions cacheOptions
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
TObjectMapperContext
TEntity
TEntityCacheItem
TKey
In this article
Back to top Powered by Volosoft