Class FlowVisitor
Responsible for the transition between the elements of the process.
Inheritance
System.Object
FlowVisitor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class FlowVisitor
Properties
ProcessUId
Gets or sets UId of the process instance.
Declaration
public Guid ProcessUId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Methods
Deserialize(FlowSchema, String)
Deserializes an instance of the FlowVisitor from a given serialized value.
Declaration
public static FlowVisitor Deserialize(FlowSchema flowSchema, string serializedValue)
Parameters
Type | Name | Description |
---|---|---|
FlowSchema | flowSchema | Flow schema. |
System.String | serializedValue | Serialized value. |
Returns
Type | Description |
---|---|
FlowVisitor | Returns instance of the FlowVisitor class. |
OnVisited(FlowElement)
Declaration
protected void OnVisited(FlowElement flowElement)
Parameters
Type | Name | Description |
---|---|---|
FlowElement | flowElement |
Serialize()
Serializes an instance of this class.
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String | Returns serialized value that represents instance of the FlowVisitor class. |
Visit(IEnumerable<FlowElement>, FlowElement)
Visits the items specified in the parameters.
Declaration
public virtual void Visit(IEnumerable<FlowElement> flowElements, FlowElement previousFlowElement)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<FlowElement> | flowElements | List of flow elements. |
FlowElement | previousFlowElement | Previous flow element. |