Class CreateMessageBuilder
Provides the abstract base class for polymorphic operators used to create specific Harp device message payloads.
[WorkflowElementCategory(ElementCategory.Source)]
public abstract class CreateMessageBuilder : HarpCombinatorBuilder, IExpressionBuilder, ICustomTypeDescriptor
- Inheritance
-
CreateMessageBuilder
- 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 created message.
public MessageType MessageType { get; set; }
Property Value
Payload
Gets or sets the operator used to create specific Harp device message payloads.
[Externalizable(false)]
[TypeConverter(typeof(CombinatorTypeConverter))]
public object Payload { 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.