コード例 #1
0
ファイル: BaseAuthHelper.cs プロジェクト: wenesak/ARMClient
 protected BaseAuthHelper(ITokenStorage tokenStorage,
                          ITenantStorage tenantStorage, IEnvironmentStorage environmentStorage)
 {
     this.EnvironmentStorage = environmentStorage;
     this.TokenStorage       = tokenStorage;
     this.TenantStorage      = tenantStorage;
 }
コード例 #2
0
ファイル: BaseAuthHelper.cs プロジェクト: v-gaw/ARMClient
 protected BaseAuthHelper(ITokenStorage tokenStorage,
     ITenantStorage tenantStorage, IEnvironmentStorage environmentStorage)
 {
     this.EnvironmentStorage = environmentStorage;
     this.TokenStorage = tokenStorage;
     this.TenantStorage = tenantStorage;
 }
コード例 #3
0
 public StorageCheckingProviderGraph(ITenantStorage tenant, IProviderGraph inner)
 {
     Tenant = tenant;
     _inner = inner;
 }
コード例 #4
0
 public TenantService(ITenantIdentificationStrategy tenantIdentificationStrategy, ITenantStorage <T> tenantStorage)
 {
     _tenantIdentificationStrategy = tenantIdentificationStrategy;
     _tenantStorage = tenantStorage;
 }
コード例 #5
0
 public TenantManager(ITenantStorage tenantStorage)
 {
     _tenantStorage = tenantStorage;
 }
コード例 #6
0
 public StorageCheckingPersistenceGraph(ITenantStorage tenant, IPersistenceGraph inner)
 {
     _tenant = tenant;
     _inner  = inner;
 }
コード例 #7
0
 /// <summary>
 /// Set source of tenants. Default is use <see cref="MemoryTenantStorage"/>
 /// </summary>
 /// <param name="tenantStorage"></param>
 /// <returns></returns>
 public MultiTenantConfigurationBuilder SetTenantStorage(ITenantStorage tenantStorage)
 {
     TenantStorage = tenantStorage;
     return(this);
 }