| ServiceResolveTService Method  | 
            Returns an instance of TService as registered within the system.
            
 
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntaxpublic static TService Resolve<TService>()
Type Parameters
- TService
 - Service type to be resolved.
 
Return Value
Type: 
TServiceReturns an instance of 
TService.
Exceptions| Exception | Condition | 
|---|
| ServiceResolutionException | 
            Thrown when resolution of TService fails. This typically occurs when no implementing type for TService is registered
            or the implementing type has dependencies which cannot be satisfied.
             | 
See Also