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

A request for a specific number of leases for a licensed feature. More...

Public Member Functions

 FeatureRequest (LicensedFeatures feature, int numLeasesRequested)
 Initializes a new instance of the FeatureRequest class. More...
 
 FeatureRequest (LicensedFeatures feature, int numLeasesRequested, int numLeasesHeld)
 Initializes a new instance of the FeatureRequest class. More...
 
override string ToString ()
 Returns a System.String that represents this instance. More...
 

Properties

LicensedFeatures Feature [get]
 Gets the feature. More...
 
int NumberOfLeasesRequested [get]
 Gets the number of leases requested. More...
 
int NumberOfLeasesHeld [get]
 Gets the number of leases held. More...
 
bool IsNonvolatile [get]
 Gets a value indicating whether this instance is a request for a nonvolatile feature. More...
 
FeatureResponseState FeatureResponseState [get, set]
 Gets or sets a value indicating whether this FeatureRequest has a response affirming the request. This is used while processing an AcquisitionRequest. More...
 

Detailed Description

A request for a specific number of leases for a licensed feature.

Constructor & Destructor Documentation

◆ FeatureRequest() [1/2]

Apac.Licensing.FeatureRequest.FeatureRequest ( LicensedFeatures  feature,
int  numLeasesRequested 
)
inline

Initializes a new instance of the FeatureRequest class.

Parameters
featureThe feature.
numLeasesRequestedThe number of leases requested.

◆ FeatureRequest() [2/2]

Apac.Licensing.FeatureRequest.FeatureRequest ( LicensedFeatures  feature,
int  numLeasesRequested,
int  numLeasesHeld 
)
inline

Initializes a new instance of the FeatureRequest class.

Parameters
featureThe feature.
numLeasesRequestedThe number of leases requested.
numLeasesHeldThe number of leases currently held.

Member Function Documentation

◆ ToString()

override string Apac.Licensing.FeatureRequest.ToString ( )
inline

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.

Property Documentation

◆ Feature

LicensedFeatures Apac.Licensing.FeatureRequest.Feature
get

Gets the feature.

The feature.

◆ FeatureResponseState

FeatureResponseState Apac.Licensing.FeatureRequest.FeatureResponseState
getset

Gets or sets a value indicating whether this FeatureRequest has a response affirming the request. This is used while processing an AcquisitionRequest.

true if is has a response; otherwise, false.

◆ IsNonvolatile

bool Apac.Licensing.FeatureRequest.IsNonvolatile
get

Gets a value indicating whether this instance is a request for a nonvolatile feature.

true if this instance is nonvolatile; otherwise, false.

◆ NumberOfLeasesHeld

int Apac.Licensing.FeatureRequest.NumberOfLeasesHeld
get

Gets the number of leases held.

The number of leases.

◆ NumberOfLeasesRequested

int Apac.Licensing.FeatureRequest.NumberOfLeasesRequested
get

Gets the number of leases requested.

The number of leases.


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