Class VariantKeyedCollection<TBase, TImplementation, TKey>
Inheritance
VariantCollection<TBase, TImplementation>
VariantKeyedCollection<TBase, TImplementation, TKey>
Inherited Members
Namespace: Ludiq
Syntax
public class VariantKeyedCollection<TBase, TImplementation, TKey> : VariantCollection<TBase, TImplementation>, IKeyedCollection<TKey, TBase>, ICollection<TBase>, IEnumerable<TBase>, ICollection, IEnumerable where TImplementation : TBase
Type Parameters
Name | Description |
---|---|
TBase | |
TImplementation | |
TKey |
Constructors
VariantKeyedCollection(IKeyedCollection<TKey, TImplementation>)
Declaration
public VariantKeyedCollection(IKeyedCollection<TKey, TImplementation> implementation)
Parameters
Type | Name | Description |
---|---|---|
IKeyedCollection<TKey, TImplementation> | implementation |
Properties
implementation
Declaration
public IKeyedCollection<TKey, TImplementation> implementation { get; }
Property Value
Type | Description |
---|---|
IKeyedCollection<TKey, TImplementation> |
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[TKey]
Declaration
public TBase this[TKey key] { get; }
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Property Value
Type | Description |
---|---|
TBase |
Implements
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
Contains(TKey)
Declaration
public bool Contains(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Returns
Type | Description |
---|---|
Boolean |
Implements
CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
Array | array | |
Int32 | index |
Remove(TKey)
Declaration
public bool Remove(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Returns
Type | Description |
---|---|
Boolean |
Implements
TryGetValue(TKey, out TBase)
Declaration
public bool TryGetValue(TKey key, out TBase value)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | |
TBase | value |
Returns
Type | Description |
---|---|
Boolean |
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
Type | Description |
---|---|
TBase |