Show / Hide Table of Contents

Class CachedApplicationConfigurationClient

Inheritance
System.Object
CachedApplicationConfigurationClient
Implements
ICachedApplicationConfigurationClient
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Abp.AspNetCore.Mvc.Client
Assembly: Volo.Abp.AspNetCore.Mvc.Client.dll
Syntax
public class CachedApplicationConfigurationClient : ICachedApplicationConfigurationClient, ITransientDependency

Constructors

CachedApplicationConfigurationClient(IDistributedCache<ApplicationConfigurationDto>, IHttpClientProxy<IAbpApplicationConfigurationAppService>, ICurrentUser, IHttpContextAccessor)

Declaration
public CachedApplicationConfigurationClient(IDistributedCache<ApplicationConfigurationDto> cache, IHttpClientProxy<IAbpApplicationConfigurationAppService> proxy, ICurrentUser currentUser, IHttpContextAccessor httpContextAccessor)
Parameters
Type Name Description
IDistributedCache<ApplicationConfigurationDto> cache
IHttpClientProxy<IAbpApplicationConfigurationAppService> proxy
ICurrentUser currentUser
IHttpContextAccessor httpContextAccessor

Properties

Cache

Declaration
protected IDistributedCache<ApplicationConfigurationDto> Cache { get; }
Property Value
Type Description
IDistributedCache<ApplicationConfigurationDto>

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

HttpContextAccessor

Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Type Description
IHttpContextAccessor

Proxy

Declaration
protected IHttpClientProxy<IAbpApplicationConfigurationAppService> Proxy { get; }
Property Value
Type Description
IHttpClientProxy<IAbpApplicationConfigurationAppService>

Methods

CreateCacheKey()

Declaration
protected virtual string CreateCacheKey()
Returns
Type Description
System.String

GetAsync()

Declaration
public Task<ApplicationConfigurationDto> GetAsync()
Returns
Type Description
System.Threading.Tasks.Task<ApplicationConfigurationDto>

Implements

ICachedApplicationConfigurationClient
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft