Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class LicensingServices

Inheritance
System.Object
LicensingServices
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Licensing.Services
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public sealed class LicensingServices

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 bool RegisterService<T>(T instance)
    where T : class
Parameters
Type Name Description
T instance
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T

Extension Methods