Click or drag to resize
ServiceIsRegisteredTService Method

Note: This API is now obsolete.

Indicates whether TService has an implementation registered.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 13.0.131
Syntax
C#
[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: Boolean
True when TService is registered, otherwise false.
See Also