Class CompanyService
Inheritance
System.Object
CompanyService
Implements
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class CompanyService : Object, ICompanyService
Constructors
CompanyService(IApiService)
Declaration
public CompanyService(IApiService apiService)
Parameters
Type | Name | Description |
---|---|---|
IApiService | apiService |
Methods
GetCompany()
Gets company information.
Declaration
public Task<Company> GetCompany()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Company> | Company details. |
GetReplicatedSiteUrl()
Gets the url set for replicated sites.
Declaration
public Task<string> GetReplicatedSiteUrl()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
See Also
GetRootURL()
Gets the root url set.
Declaration
public Task<string> GetRootURL()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |