AP&C API Reference
Public Member Functions | List of all members
Apac.Licensing.ILicensable Interface Reference

The interface used by components that are restricted by licensing policies. The intent is for consumers of those components to check the license state of the licensed component by direct inquiry. Licensed components would utilize LicensingClient to check their license status and report that status through their implementation of this interface. More...

Public Member Functions

FeatureResponse IsLicensed (string contextId, LicensedFeatures feature)
 Allows a component that is restricted by licensing policies to report the status of a particular feature in the requested context. More...
 

Detailed Description

The interface used by components that are restricted by licensing policies. The intent is for consumers of those components to check the license state of the licensed component by direct inquiry. Licensed components would utilize LicensingClient to check their license status and report that status through their implementation of this interface.

Member Function Documentation

◆ IsLicensed()

FeatureResponse Apac.Licensing.ILicensable.IsLicensed ( string  contextId,
LicensedFeatures  feature 
)

Allows a component that is restricted by licensing policies to report the status of a particular feature in the requested context.

Parameters
contextIdThe identifier of the requested context.
featureThe feature being requested.
Returns
Returns a FeatureResponse that indicates if the requested feature is licensed or not in the requested context.

The node identifier will be determined by the licensed component.


The documentation for this interface was generated from the following file: