Class Once
Executes an action only once, and a different action afterwards.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Flow", 33)]
public sealed class Once : Unit, IUnit, IGraphElementWithDebugData, ISerializationCallbackReceiver, IGraphElementWithData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged
Properties
after
The action to execute subsequently.
Declaration
[DoNotSerialize]
public ControlOutput after { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
enter
The entry point for the action.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
once
The action to execute the first time the unit is entered.
Declaration
[DoNotSerialize]
public ControlOutput once { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
reset
Trigger to reset the once check.
Declaration
[DoNotSerialize]
public ControlInput reset { get; }
Property Value
Type | Description |
---|---|
ControlInput |
Methods
CreateData()
Declaration
public IGraphElementData CreateData()
Returns
Type | Description |
---|---|
IGraphElementData |
Implements
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Enter(Flow)
Declaration
public ControlOutput Enter(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
ControlOutput |
Reset(Flow)
Declaration
public ControlOutput Reset(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
ControlOutput |