Class Once
Executes an action only once, and a different action afterwards.
Syntax
[UnitCategory("Control")]
[UnitOrder(14)]
public sealed class Once : Unit, IUnit, IGraphElementWithDebugData, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
after
The action to execute subsequently.
Declaration
[DoNotSerialize]
public ControlOutput after { get; }
Property Value
enter
The entry point for the action.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
once
The action to execute the first time the unit is entered.
Declaration
[DoNotSerialize]
public ControlOutput once { get; }
Property Value
reset
Trigger to reset the once check.
Declaration
[DoNotSerialize]
public ControlInput reset { get; }
Property Value
Methods
CreateData()
Declaration
public IGraphElementData CreateData()
Returns
Implements
Definition()
Declaration
protected override void Definition()
Overrides
Enter(Flow)
Declaration
public ControlOutput Enter(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Reset(Flow)
Declaration
public ControlOutput Reset(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Extension Methods