ServiceServiceInterface Class |
Namespace: CMS.Core
public static class Service<ServiceInterface> where ServiceInterface : class
The ServiceServiceInterface type exposes the following members.
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 |
Returns the service interface
|
Name | Description | |
---|---|---|
IsAvailable |
Checks whether the service is available
|