Class VariantKeyedCollection<TBase, TImplementation, TKey>
Inheritance
VariantKeyedCollection<TBase, TImplementation, TKey>
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
implementation
Declaration
public IKeyedCollection<TKey, TImplementation> implementation { get; }
Property Value
Item[TKey]
Declaration
public TBase this[TKey key] { get; }
Parameters
Type |
Name |
Description |
TKey |
key |
|
Property Value
Implements
Methods
Contains(TKey)
Declaration
public bool Contains(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Implements
Remove(TKey)
Declaration
public bool Remove(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Implements
TryGetValue(TKey, out TBase)
Declaration
public bool TryGetValue(TKey key, out TBase value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TBase |
value |
|
Returns
Implements
Explicit Interface Implementations
IKeyedCollection<TKey, TBase>.Item[Int32]
Declaration
TBase IKeyedCollection<TKey, TBase>.this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
Extension Methods