Class ServiceDomainResolver
Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.To browse the .NET Framework source code for this type, see the Reference Source.
Implements
Inherited Members
Namespace: Unity.Cloud.Common
Assembly: solution.dll
Syntax
public class ServiceDomainResolver : IServiceDomainResolver
Methods
GetResolvedDomain(ServiceDomainProvider)
Gets the resolved domain for the given provider.
Declaration
public virtual string GetResolvedDomain(ServiceDomainProvider provider)
Parameters
Type | Name | Description |
---|---|---|
ServiceDomainProvider | provider | The provider for which to get the resolved domain. |
Returns
Type | Description |
---|---|
string | The resolved domain for the given provider. |
GetResolvedSubdomain(ServiceDomainProvider, ServiceEnvironment)
Gets the resolved subdomain for the given provider and environment.
Declaration
public virtual string GetResolvedSubdomain(ServiceDomainProvider provider, ServiceEnvironment environment)
Parameters
Type | Name | Description |
---|---|---|
ServiceDomainProvider | provider | The provider for which to get the resolved domain. |
ServiceEnvironment | environment | The environment for which to get the resolved domain. |
Returns
Type | Description |
---|---|
string | The resolved subdomain for the given provider and environment. |