Class WorkflowBuilder
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
Represents an XML serializable expression builder workflow container.
public class WorkflowBuilder : IXmlSerializable
- Inheritance
-
WorkflowBuilder
- Implements
- Inherited Members
Constructors
WorkflowBuilder()
Initializes a new instance of the WorkflowBuilder class.
public WorkflowBuilder()
WorkflowBuilder(ExpressionBuilderGraph)
Initializes a new instance of the WorkflowBuilder class with the specified workflow instance.
public WorkflowBuilder(ExpressionBuilderGraph workflow)
Parameters
workflow
ExpressionBuilderGraphThe ExpressionBuilderGraph that will be used by this builder.
Properties
Description
Gets or sets a description for the serializable workflow.
public string Description { get; set; }
Property Value
Serializer
Gets a XmlSerializer instance that can be used to serialize or deserialize a WorkflowBuilder.
public static XmlSerializer Serializer { get; }
Property Value
Workflow
Gets the ExpressionBuilderGraph instance used by this builder.
public ExpressionBuilderGraph Workflow { get; }
Property Value
Methods
ReadMetadata(string)
Reads workflow metadata from the serializable XML workflow representation at the specified URI.
public static WorkflowMetadata ReadMetadata(string inputUri)
Parameters
inputUri
stringThe URI for the file containing the XML data.
Returns
- WorkflowMetadata
A WorkflowMetadata instance containing the retrieved metadata.
ReadMetadata(XmlReader)
Reads workflow metadata from the serializable XML workflow representation.
public static WorkflowMetadata ReadMetadata(XmlReader reader)
Parameters
Returns
- WorkflowMetadata
A WorkflowMetadata instance containing the retrieved metadata.