Click or drag to resize
ServiceEntryServiceInterface Method

Note: This API is now obsolete.

Returns the service interface

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use Resolve<TService>() instead.")]
public static ServiceInterface Entry<ServiceInterface>()
where ServiceInterface : class

Type Parameters

ServiceInterface

Return Value

Type: ServiceInterface
Exceptions
ExceptionCondition
ServiceResolutionException Thrown when resolution of ServiceInterface fails. This typically occurs when no implementing type for ServiceInterface is registered or the implementing type has dependencies which cannot be satisfied.
See Also