C# Class a7DocumentDbStudio.Model.AccountModel

Inheritance: DocumentDbModelBase
Show file Open project: alekkowalczyk/a7DocumentDbStudio Class Usage Examples

Public Methods

Method Description
AccountModel ( AccountCredentialsModel credentials ) : a7DocumentDbStudio.Utils
CreateDatabase ( string name ) : Task
RefreshCredentials ( ) : System.Threading.Tasks.Task

if Endpoint and/or Key changed in the Credentials value - with this function we refresh the connection

RefreshDatabases ( ) : System.Threading.Tasks.Task

Method Details

AccountModel() public method

public AccountModel ( AccountCredentialsModel credentials ) : a7DocumentDbStudio.Utils
credentials AccountCredentialsModel
return a7DocumentDbStudio.Utils

CreateDatabase() public method

public CreateDatabase ( string name ) : Task
name string
return Task

RefreshCredentials() public method

if Endpoint and/or Key changed in the Credentials value - with this function we refresh the connection
public RefreshCredentials ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

RefreshDatabases() public method

public RefreshDatabases ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task