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

The attribute class used to identify properly composed implementations of IMeasurementFormula{T}. More...

Inheritance diagram for Apac.Configuration.MeasurementFormulaAttribute:
Apac.Configuration.PluginAttribute

Public Member Functions

 MeasurementFormulaAttribute (string id, Type resourceType, string nameKey, string descriptionKey, string instructionsKey)
 Initializes a new instance of the MeasurementFormulaAttribute class. More...
 
- Public Member Functions inherited from Apac.Configuration.PluginAttribute
 PluginAttribute (string id, Type resourceType, string nameKey, string descriptionKey, string instructionsKey, Type type)
 Initializes a new instance of the PluginAttribute class with an unlimited expected number of readings. More...
 

Properties

override PluginDescriptor Descriptor [get]
 Gets the descriptor that details the plugin decorated by this attribute. More...
 
FormulaDescriptor FormulaDescriptor [get]
 Gets the formula descriptor. More...
 
- Properties inherited from Apac.Configuration.PluginAttribute
virtual PluginDescriptor Descriptor [get]
 Gets the descriptor that details the plugin decorated by this attribute. More...
 

Detailed Description

The attribute class used to identify properly composed implementations of IMeasurementFormula{T}.

Constructor & Destructor Documentation

◆ MeasurementFormulaAttribute()

Apac.Configuration.MeasurementFormulaAttribute.MeasurementFormulaAttribute ( string  id,
Type  resourceType,
string  nameKey,
string  descriptionKey,
string  instructionsKey 
)
inline

Initializes a new instance of the MeasurementFormulaAttribute class.

Parameters
idThe id - a GUID in string form.
resourceTypeThe type used to access the resource keys.
nameKeyThe key used to load the name from resourceType .
descriptionKeyThe key used to load the description from resourceType .
instructionsKeyThe key used to load the instructions from resourceType .

Property Documentation

◆ Descriptor

override PluginDescriptor Apac.Configuration.MeasurementFormulaAttribute.Descriptor
get

Gets the descriptor that details the plugin decorated by this attribute.

The descriptor.

◆ FormulaDescriptor

FormulaDescriptor Apac.Configuration.MeasurementFormulaAttribute.FormulaDescriptor
get

Gets the formula descriptor.


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