SaaS CMS has officially launched! Learn more now.

Class LicensingServices

Inheritance
System.Object
LicensingServices
Namespace: EPiServer.Licensing.Services
Assembly: EPiServer.Licensing.dll
Version: 12.0.3
Syntax
public sealed class LicensingServices : Object

Constructors

LicensingServices()

Declaration
public LicensingServices()

Properties

Instance

Declaration
public static LicensingServices Instance { get; }
Property Value
Type Description
LicensingServices

Methods

GetService<T>()

Declaration
public T GetService<T>()
    where T : class
Returns
Type Description
T
Type Parameters
Name Description
T

GetServices<T>()

Declaration
public IEnumerable<T> GetServices<T>()
    where T : class
Returns
Type Description
System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T

RegisterService<T>(T)

Declaration
public void RegisterService<T>(T instance)
    where T : class
Parameters
Type Name Description
T instance
Type Parameters
Name Description
T

Extension Methods