Class AddDictionaryItem
Adds an item to a dictionary.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Collections/Dictionaries", 2)]
[UnitDisplay(surtitle = "Dictionary", shortTitle = "Add Item")]
[Obsolete("Use the new generic collections instead.")]
public sealed class AddDictionaryItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
dictionaryInput
The dictionary.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Dictionary", showLabel = false)]
public ValueInput dictionaryInput { get; }
Property Value
Type | Description |
---|---|
ValueInput |
dictionaryOutput
The dictionary with the added element. Note that the input dictionary is modified directly then returned.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Dictionary", showLabel = false)]
public ValueOutput dictionaryOutput { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
enter
The entry point for the node.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to execute once the item has been added.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
key
The key of the item to add.
Declaration
[DoNotSerialize]
public ValueInput key { get; }
Property Value
Type | Description |
---|---|
ValueInput |
value
The value of the item to add.
Declaration
[DoNotSerialize]
public ValueInput value { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()