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