Class CachedApplicationConfigurationClient
Inheritance
System.Object
CachedApplicationConfigurationClient
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
ITransientDependency