Class VariantKeyedCollection<TBase, TImplementation, TKey>
Inheritance
VariantKeyedCollection<TBase, TImplementation, TKey>
Assembly: Unity.VisualScripting.Core.dll
Syntax
public class VariantKeyedCollection<TBase, TImplementation, TKey> : VariantCollection<TBase, TImplementation>, IKeyedCollection<TKey, TBase>, ICollection<TBase>, IEnumerable<TBase>, IEnumerable where TImplementation : TBase
Type Parameters
Name |
Description |
TBase |
|
TImplementation |
|
TKey |
|
Constructors
VariantKeyedCollection(IKeyedCollection<TKey, TImplementation>)
Declaration
public VariantKeyedCollection(IKeyedCollection<TKey, TImplementation> implementation)
Parameters
Properties
this[TKey]
Declaration
public TBase this[TKey key] { get; }
Parameters
Type |
Name |
Description |
TKey |
key |
|
Property Value
implementation
Declaration
public IKeyedCollection<TKey, TImplementation> implementation { get; }
Property Value
Methods
Contains(TKey)
Declaration
public bool Contains(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Remove(TKey)
Declaration
public bool Remove(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
TryGetValue(TKey, out TBase)
Declaration
public bool TryGetValue(TKey key, out TBase value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TBase |
value |
|
Returns
Implements
Extension Methods