mirror of https://github.com/abpframework/abp.git
4 changed files with 37 additions and 21 deletions
@ -0,0 +1,20 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|||
{ |
|||
public class ApplicationConfigurationCache : ISingletonDependency |
|||
{ |
|||
protected ApplicationConfigurationDto Configuration { get; set; } |
|||
|
|||
public virtual ApplicationConfigurationDto Get() |
|||
{ |
|||
return Configuration; |
|||
} |
|||
|
|||
internal void Set(ApplicationConfigurationDto configuration) |
|||
{ |
|||
Configuration = configuration; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue