Class AnnotationBuilder
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents a written explanation or critical comment added to the workflow.
[WorkflowElementCategory(ElementCategory.Property)]
public class AnnotationBuilder : ExpressionBuilder, IExpressionBuilder, INamedElement
- Inheritance
-
AnnotationBuilder
- Implements
- Inherited Members
- Extension Methods
Properties
ArgumentRange
Gets the range of input arguments that this expression builder accepts.
public override Range<int> ArgumentRange { get; }
Property Value
Name
Gets or sets the name of the annotation node in the workflow.
[Externalizable(false)]
public string Name { get; set; }
Property Value
Text
Gets or sets the text associated with this annotation.
[Externalizable(false)]
public string Text { get; set; }
Property Value
TextCData
Gets or sets a CDATA section representing the annotation for serialization.
[Browsable(false)]
public XmlCDataSection TextCData { 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.