C# Class Tailspin.Surveys.Data.DataModels.TenantManager

Inheritance: IDisposable
ファイルを表示 Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps Class Usage Examples

Public Methods

Method Description
CreateAsync ( Tenant tenant ) : Task
DeleteTenantAsync ( Tenant tenant ) : Task
Dispose ( ) : void
FindByIssuerValueAsync ( string issuerValue ) : Task
TenantManager ( ApplicationDbContext dbContext, IHttpContextAccessor contextAccessor ) : System
UpdateTenantAsync ( Tenant tenant ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ThrowIfDisposed ( ) : void

Method Details

CreateAsync() public method

public CreateAsync ( Tenant tenant ) : Task
tenant Tenant
return Task

DeleteTenantAsync() public method

public DeleteTenantAsync ( Tenant tenant ) : Task
tenant Tenant
return Task

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindByIssuerValueAsync() public method

public FindByIssuerValueAsync ( string issuerValue ) : Task
issuerValue string
return Task

TenantManager() public method

public TenantManager ( ApplicationDbContext dbContext, IHttpContextAccessor contextAccessor ) : System
dbContext ApplicationDbContext
contextAccessor IHttpContextAccessor
return System

UpdateTenantAsync() public method

public UpdateTenantAsync ( Tenant tenant ) : Task
tenant Tenant
return Task