Class Decision
Assembly: Xareus.Scenarios.dll
Syntax
[Serializable]
public class Decision : Transition
Constructors
Decision()
Declaration
Decision(string, string)
Declaration
public Decision(string id, string label = "")
Parameters
Type |
Name |
Description |
string |
id |
The Id must be unique
|
string |
label |
The label (optional)
|
Properties
FalseDownstreamNode
Declaration
public Node FalseDownstreamNode { get; set; }
Property Value
Triggered
Decisions always trigger (either true or false) if they are enabled
Declaration
public override bool Triggered { get; }
Property Value
Overrides
TrueDownstreamNode
Declaration
public Node TrueDownstreamNode { get; set; }
Property Value
WillTrigger
Decisions always trigger (either true or false) if they are enabled
Declaration
public override bool WillTrigger { get; }
Property Value
Overrides
falseDownstreamNode
Declaration
public virtual Reference falseDownstreamNode { get; set; }
Property Value
trueDownstreamNode
Declaration
public virtual Reference trueDownstreamNode { get; set; }
Property Value
Methods
AddDownstreamSequence(ASequence)
Adds the given sequence in the downstream list of the decision
If no TrueDownstreamNode is set, the sequence is added as TrueDownstreamNode, else as FalseDownstreamNode
Declaration
public override void AddDownstreamSequence(ASequence sequence)
Parameters
Overrides
AddUpstreamSequence(ASequence)
Adds the given sequence in the upstream list of the transition
Declaration
public override void AddUpstreamSequence(ASequence sequence)
Parameters
Overrides
RemoveDownstreamSequence(ASequence)
Removes the given sequence from the downstream list of the transition
Declaration
public override void RemoveDownstreamSequence(ASequence sequence)
Parameters
Overrides
RenameDownstreamSequence(string, string)
Renames the downstream sequence with the given previousId to the newId
Declaration
public override void RenameDownstreamSequence(string previousId, string newId)
Parameters
Overrides
Extension Methods