Search Results for

    Show / Hide Table of Contents

    Interface ILicenser

    Namespace: LemonEdge.API.Client.CommonUI
    Assembly: LemonEdge.API.dll
    Syntax
    public interface ILicenser

    Methods

    IsLicensed()

    Returns if the current logged in user has a valid license associated with this account

    Declaration
    Task<LicenseResult> IsLicensed()
    Returns
    Type Description
    Task<LicenseResult>

    ResetLicense()

    Resets the cached flag indicating if this license is valid, forcing a new check next time IsLicensed() is called

    Declaration
    void ResetLicense()

    VerifyLicense(ILicense, string)

    Returns true if the current license for this account is valid

    Declaration
    Task<LicenseResult> VerifyLicense(ILicense licenseInfo, string license)
    Parameters
    Type Name Description
    ILicense licenseInfo

    The current license information

    string license

    The current license against the account to use

    Returns
    Type Description
    Task<LicenseResult>

    True if the current license for this account is valid

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.