ServiceIsRegisteredTService Method |
Note: This API is now obsolete.
Indicates whether TService has an implementation registered.
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 13.0.131
Syntax [ObsoleteAttribute("Use ResolveOptional() method instead that will return null when service cannot be resolved.")]
public static bool IsRegistered<TService>()
Type Parameters
- TService
- Service type in question.
Return Value
Type:
BooleanTrue when
TService is registered, otherwise false.
See Also