Class ClearDictionary
Clears all items from a dictionary.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Collections/Dictionaries", 4)]
[UnitDisplay(surtitle = "Dictionary", shortTitle = "Clear")]
[TypeIcon(typeof(RemoveDictionaryItem))]
[Obsolete("Use the new generic collections instead.")]
public sealed class ClearDictionary : 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 cleared dictionary. Note that the input dictionary is modified directly and 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 dictionary has been cleared.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()