Click or drag to resize
Service Class
Provides service management and resolution functionality for the system.
Inheritance Hierarchy
SystemObject
  CMS.CoreService

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntax
C#
public static class Service

The Service type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsRegistered
Indicates whether service has an implementation registered.
Public methodStatic memberResolve(Type)
Returns an instance of service as registered within the system.
Public methodStatic memberResolveTService
Returns an instance of TService as registered within the system.
Public methodStatic memberUse(Type, Object, String)
Sets instance to be used as implementation of service.
Public methodStatic memberUse(Type, FuncObject, String, Boolean)
Sets factoryMethod to be used as a provider of implementation of service.
Public methodStatic memberUse(Type, Type, String, Boolean)
Sets implementation to be used as implementation of service.
Public methodStatic memberUseTService(Object, String)
Sets instance to be used as implementation of TService.
Public methodStatic memberUseTService(FuncObject, String, Boolean)
Sets factoryMethod to be used as a provider of implementation of TService.
Public methodStatic memberUseTService, TImplementation(String, Boolean)
Sets TImplementation to be used as implementation of TService.
Top
See Also