Service Class |
Namespace: CMS.Core
public static class Service
The Service type exposes the following members.
Name | Description | |
---|---|---|
EntryServiceInterface | Obsolete.
Returns the service interface
| |
IsRegistered |
Indicates whether service has an implementation registered.
| |
Resolve(Type) |
Returns an instance of service as registered within the system.
| |
ResolveTService |
Returns an instance of TService as registered within the system.
| |
Use(Type, Object, String, Boolean) |
Sets instance to be used as implementation of service.
| |
Use(Type, Type, String, Boolean) |
Sets implementation to be used as implementation of service.
| |
UseTService(Object, String, Boolean) |
Sets instance to be used as implementation of TService.
| |
UseTService, TImplementation(String, Boolean) |
Sets TImplementation to be used as implementation of TService.
|