Class NullCheck
Branches flow depending on whether the input is null.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Nulls")]
[TypeIcon(typeof(Null))]
public sealed class NullCheck : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
enter
The entry point for the null check.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
ifNotNull
The action to execute if the input is not null.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Not Null")]
public ControlOutput ifNotNull { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
ifNull
The action to execute if the input is null.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Null")]
public ControlOutput ifNull { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
input
The input.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true, showLabel = false)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
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 |