AP&C API Reference
Public Member Functions | Properties | List of all members
Apac.Licensing.FeatureResponse Class Reference

Public Member Functions

 FeatureResponse (FeatureRequest request, FeatureType type)
 Initializes a new instance of the FeatureResponse class with KeyAssigned set to true. More...
 
 FeatureResponse (FeatureRequest request, string failureReason, FeatureType type)
 Initializes a new instance of the FeatureResponse class with KeyAssigned set to false and allowing a failure reason. More...
 

Properties

LicensedFeatures Feature [get]
 Gets the feature. More...
 
FeatureType FeatureType [get]
 
int NumberOfLeasesGranted [get]
 Gets the number of leases granted. More...
 
string Id [get]
 Gets the id. More...
 
bool KeyAcquired [get, set]
 Gets or sets a value indicating whether a key was assigned. More...
 
string FailureReason [get, set]
 Gets or sets the failure reason, in the event that a key was not assigned. More...
 

Constructor & Destructor Documentation

◆ FeatureResponse() [1/2]

Apac.Licensing.FeatureResponse.FeatureResponse ( FeatureRequest  request,
FeatureType  type 
)
inline

Initializes a new instance of the FeatureResponse class with KeyAssigned set to true.

Parameters
requestThe request.
typeThe type of license being issued.

◆ FeatureResponse() [2/2]

Apac.Licensing.FeatureResponse.FeatureResponse ( FeatureRequest  request,
string  failureReason,
FeatureType  type 
)
inline

Initializes a new instance of the FeatureResponse class with KeyAssigned set to false and allowing a failure reason.

Parameters
requestThe request.
failureReasonThe failure reason.
typeThe type of license being issued.

Property Documentation

◆ FailureReason

string Apac.Licensing.FeatureResponse.FailureReason
getset

Gets or sets the failure reason, in the event that a key was not assigned.

The failure reason.

◆ Feature

LicensedFeatures Apac.Licensing.FeatureResponse.Feature
get

Gets the feature.

The feature.

◆ Id

string Apac.Licensing.FeatureResponse.Id
get

Gets the id.

The id.

◆ KeyAcquired

bool Apac.Licensing.FeatureResponse.KeyAcquired
getset

Gets or sets a value indicating whether a key was assigned.

true if [key assigned]; otherwise, false.

◆ NumberOfLeasesGranted

int Apac.Licensing.FeatureResponse.NumberOfLeasesGranted
get

Gets the number of leases granted.

The number of leases.


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