1using System.Threading.Tasks;
41 public override async Task
Parse(XmlElement Xml)
43 await base.Parse(Xml);
45 this.ConvertValueAttributeToElement<Reason>(Xml,
true);
53 base.OnChildNodesUpdated();
55 this.reason = this.GetValueElement<Reason>();
65 string Reason = (await this.reason.
Evaluate(Arguments))?.ToString();
Contains the definition of a contract
Marketplace processor, brokering sales of items via tenders and offers defined in smart contracts.
CaseInsensitiveString CreationContract
ID of contract that details the creation of the token.
Abstract base class for State-Machine action nodes.
Fail the contract used to create the token, associated with the state-machine.
override IStateMachineNode Create()
Creates a new node of the corresponding type.
override async Task Execute(EvaluationArguments Arguments)
Evaluates the action node
override string LocalName
Local name
override async Task Parse(XmlElement Xml)
Parses the State-machine node.
Fail()
Fail the contract used to create the token, associated with the state-machine.
override void OnChildNodesUpdated()
Method called whenever ChildNodes is updated.
Contains information required for evaluating script in a state-machine.
StateMachine Machine
Reference to state-machine definition.
EDalerComponent EDaler
eDaler component.
LegalComponent Legal
Legal component
Profiler Profiler
State-Machine profiler.
Token Token
Reference to related token.
Task< object > Evaluate(EvaluationArguments Arguments)
Evaluates the value node.
Class representing a state machine.
static async Task GoToState(string StateId, EvaluationArguments Arguments)
Goes to a new state.
CaseInsensitiveString DefinitionContractId
ID of Definition Contract
Interface for State-Machine nodes