ServiceEntryServiceInterface Method |
Note: This API is now obsolete.
Namespace: CMS.Core
[ObsoleteAttribute("Use Resolve<TService>() instead.")] public static ServiceInterface Entry<ServiceInterface>() where ServiceInterface : class
Exception | Condition |
---|---|
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. |