Class License
A terminal framework license.
public sealed class License : License, IDisposable
- Inheritance
-
License
- Implements
- Inherited Members
Constructors
License(string, string, string, LicenseClaims, LicenseQuota)
Initialize a new instance.
public License(string plan, string usage, string licenseKey, LicenseClaims claims, LicenseQuota quota)
Parameters
plan
stringThe license plan.
usage
stringThe license usage.
licenseKey
stringThe license key.
claims
LicenseClaimsThe license claims.
quota
LicenseQuotaThe license quota.
Properties
Claims
The license claims.
public LicenseClaims Claims { get; }
Property Value
Failed
Indicates whether the license is in a failed state.
public Error? Failed { get; }
Property Value
LicenseKey
The license key.
public override string LicenseKey { get; }
Property Value
Plan
The license plan.
public string Plan { get; }
Property Value
Quota
The license quota.
public LicenseQuota Quota { get; }
Property Value
Usage
The license usage.
public string Usage { get; }
Property Value
Methods
Dispose()
Disposes the license.
public override void Dispose()
SetFailed(Error)
Sets the license to failed state with an error.
public void SetFailed(Error error)
Parameters
error
Error