ServiceServiceInterface Class |
Note: This API is now obsolete.
Namespace: CMS.Core
[ObsoleteAttribute("Use CMS.Core.Service class instead. See individual obsoleted members' messages to find suitable replacements.")] public static class Service<ServiceInterface> where ServiceInterface : class
The ServiceServiceInterface type exposes the following members.
Name | Description | |
---|---|---|
IsAvailable | Obsolete.
Checks whether the service is available
|
Name | Description | |
---|---|---|
Entry | Obsolete.
Returns the service implementation as registered within the system.
| |
ForObjectTypeObjectType | Obsolete.
Returns service interface as a static singleton for the given object type
| |
TryExecuteResultType | Obsolete.
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 | Obsolete.
Sets ServiceType to be used as implementation of ServiceInterface.
|