Class WebApiServicesRegistry
- Namespace
- StockSharp.Studio.WebApi
- Assembly
- StockSharp.Studio.WebApi.dll
Services registry.
public static class WebApiServicesRegistry
- Inheritance
-
WebApiServicesRegistry
- Inherited Members
Properties
ApiServiceProvider
public static IApiServiceProvider ApiServiceProvider { get; }
Property Value
- IApiServiceProvider
Offline
public static bool Offline { get; set; }
Property Value
Methods
GetCredentials()
Get credentials.
public static ServerCredentials GetCredentials()
Returns
- ServerCredentials
Exceptions
GetServiceAsAnonymous<TService>()
Get required service instance.
public static TService GetServiceAsAnonymous<TService>()
Returns
- TService
Required service instance.
Type Parameters
TService
Service type.
Remarks
Anonymous mode.
GetService<TService>()
Get required service instance.
public static TService GetService<TService>()
Returns
- TService
Required service instance.
Type Parameters
TService
Service type.