Click or drag to resize
ServiceServiceInterface Class

Note: This API is now obsolete.

Provides service management and resolution functionality for the system.
Inheritance Hierarchy
SystemObject
  CMS.CoreServiceServiceInterface

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use CMS.Core.Service class instead. See individual obsoleted members' messages to find suitable replacements.")]
public static class Service<ServiceInterface>
where ServiceInterface : class

Type Parameters

ServiceInterface

The ServiceServiceInterface type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsAvailable Obsolete.
Checks whether the service is available
Top
Methods
  NameDescription
Public methodStatic memberEntry Obsolete.
Returns the service implementation as registered within the system.
Public methodStatic memberForObjectTypeObjectType Obsolete.
Returns service interface as a static singleton for the given object type
Public methodStatic memberTryExecuteResultType 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
Public methodStatic memberUseServiceType Obsolete.
Sets ServiceType to be used as implementation of ServiceInterface.
Top
See Also