ServiceServiceInterface Class |
Namespace: CMS.Core
public static class Service<ServiceInterface> where ServiceInterface : class
The ServiceServiceInterface type exposes the following members.
Name | Description | |
---|---|---|
IsAvailable |
Checks whether the service is available
|
Name | Description | |
---|---|---|
Entry |
Returns the service interface as a static singleton
| |
ForObjectTypeObjectType |
Returns service interface as a static singleton for the given object type
| |
TryExecuteResultType |
Attempts to execute the given lambda expression over the service instance. If service instance is not available, does not execute and returns default value of ReturnType
| |
UseServiceType |
Sets ServiceType to be used as implementation of ServiceInterface.
|