Class AddDictionaryItem
Adds an item to a dictionary.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitSurtitleAttribute]
[UnitShortTitleAttribute]
[UnitOrderAttribute]
public sealed class AddDictionaryItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
dictionaryInput
The dictionary.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
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
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput dictionaryOutput { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
enter
The entry point for the node.
Declaration
[DoNotSerializeAttribute]
public ControlInput enter { get; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
exit
The action to execute once the item has been added.
Declaration
[DoNotSerializeAttribute]
public ControlOutput exit { get; }
Property Value
| Type | Description |
|---|---|
| ControlOutput |
key
The key of the item to add.
Declaration
[DoNotSerializeAttribute]
public ValueInput key { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
value
The value of the item to add.
Declaration
[DoNotSerializeAttribute]
public ValueInput value { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable