AP&C API Reference
|
A descriptive construct that provides metadata about a measurement formula plugin so that information can be used by the configuration subsystem without having to instantiate and hold a reference to the formula object itself. This is especially helpful when serialization is required (like with the remote client doing configuration). More...
Public Member Functions | |
FormulaDescriptor (Guid id, string name, string description, string instructions, Type type) | |
Initializes a new instance of the FormulaDescriptor class. More... | |
FormulaDescriptor (PluginDescriptor descriptor) | |
Initializes a new instance of the FormulaDescriptor class. More... | |
![]() | |
PluginDescriptor (Guid id, string name, string description, string instructions, Type type) | |
Initializes a new instance of the PluginDescriptor class. More... | |
void | GetObjectData (SerializationInfo info, StreamingContext context) |
Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. More... | |
Protected Member Functions | |
FormulaDescriptor (SerializationInfo info, StreamingContext context) | |
Initializes a new instance of the FormulaDescriptor class. More... | |
![]() | |
PluginDescriptor (SerializationInfo info, StreamingContext context) | |
Initializes a new instance of the PluginDescriptor class during binary deserialization. More... | |
Properties | |
List< FormulaInputDescriptor > | Inputs [get] |
Gets the input descriptors for the formula. More... | |
![]() | |
Guid | Id [get] |
Gets the id. More... | |
string | Name [get] |
Gets or sets the name of the formula. This is presented to the user when selecting formulae during configuration. More... | |
string | Description [get] |
Gets or sets a verbose description of the formula. More... | |
string | Instructions [get] |
Gets or sets instructions for use of the formula. This allows access to formula details needed to properly configure it. More... | |
Type | Type [get, set] |
Gets or sets the type of the plugin being described. Having this writable allows us to set it based on the class the attribute (containing this descriptor) is applied to. This eliminates one piece of data needed to attribute a plugin class using this method. More... | |
A descriptive construct that provides metadata about a measurement formula plugin so that information can be used by the configuration subsystem without having to instantiate and hold a reference to the formula object itself. This is especially helpful when serialization is required (like with the remote client doing configuration).
|
inlineprotected |
Initializes a new instance of the FormulaDescriptor class.
info | The info. |
context | The context. |
|
inline |
Initializes a new instance of the FormulaDescriptor class.
id | The id. |
name | The name. |
description | The description. |
instructions | The instructions. |
type | The type. |
|
inline |
Initializes a new instance of the FormulaDescriptor class.
descriptor | The descriptor. |
|
get |
Gets the input descriptors for the formula.