Click or drag to resize
ServiceIsRegistered Method (Type)

Note: This API is now obsolete.

Indicates whether service 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(
	Type service
)

Parameters

service
Type: SystemType
Service type in question.

Return Value

Type: Boolean
True when service is registered, otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when service is null.
See Also