Class FormatBuilder
Provides the abstract base class for polymorphic operators used to format a sequence of values as specific Harp device register messages.
[WorkflowElementCategory(ElementCategory.Transform)]
public abstract class FormatBuilder : HarpCombinatorBuilder, IExpressionBuilder, ICustomTypeDescriptor
- Inheritance
-
FormatBuilder
- Implements
- Derived
- Inherited Members
Properties
ArgumentRange
Gets the range of input arguments that this expression builder accepts.
public override Range<int> ArgumentRange { get; }
Property Value
MessageType
Gets or sets a value specifying the type of the formatted message.
public MessageType? MessageType { get; set; }
Property Value
Register
Gets or sets the operator used to format the source data into specific Harp device register messages.
[Externalizable(false)]
[TypeConverter(typeof(CombinatorTypeConverter))]
public object Register { get; set; }
Property Value
Methods
Build(IEnumerable<Expression>)
Constructs an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
arguments
IEnumerable<Expression>A collection of Expression nodes representing the input arguments.
Returns
- Expression
The constructed Expression node.