Class FlowCancellationToken
Represents a "virtual" element, that is placed after each intermediate signal in case of ExclusiveEventBasedGateway existance.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class FlowCancellationToken : FlowElement, IFlowElement
Constructors
FlowCancellationToken(FlowSchema)
Initialized an instance of FlowCancellationToken.
Declaration
public FlowCancellationToken(FlowSchema flowSchema)
Parameters
Type | Name | Description |
---|---|---|
FlowSchema | flowSchema | Instance of FlowSchema to initialize with. |
FlowCancellationToken(FlowSchema, String)
Initialized an instance of FlowCancellationToken.
Declaration
public FlowCancellationToken(FlowSchema flowSchema, string bpmnElementName)
Parameters
Type | Name | Description |
---|---|---|
FlowSchema | flowSchema | Instance of FlowSchema to initialize with. |
System.String | bpmnElementName | An element's name according to BPM Notation. |
Properties
ElementsToCancel
Contains an elements collection that need to be cancelled when current element is executed.
Declaration
public HashSet<string> ElementsToCancel { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<System.String> |
Methods
Accept(FlowVisitor, FlowElement)
Обрабатывает элемент бизнес-процесса.
Declaration
public override void Accept(FlowVisitor visitor, FlowElement previousFlowElement = null)
Parameters
Type | Name | Description |
---|---|---|
FlowVisitor | visitor | Экземпляр класса FlowVisitor, который отвечает за переход между элементами процесса. |
FlowElement | previousFlowElement | Не используется. |
Overrides
ReadProperties(DataReader)
Declaration
public override void ReadProperties(DataReader dataReader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | dataReader |
Overrides
WriteProperties(DataWriter)
Declaration
public override void WriteProperties(DataWriter dataWriter)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | dataWriter |