Class VariantCollection<TBase, TImplementation>
Inheritance
VariantCollection<TBase, TImplementation>
Syntax
public class VariantCollection<TBase, TImplementation> : ICollection<TBase>, IEnumerable<TBase>, IEnumerable where TImplementation : TBase
Type Parameters
Name |
Description |
TBase |
|
TImplementation |
|
Constructors
VariantCollection(ICollection<TImplementation>)
Declaration
public VariantCollection(ICollection<TImplementation> implementation)
Parameters
Type |
Name |
Description |
ICollection<TImplementation> |
implementation |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
implementation
Declaration
public ICollection<TImplementation> implementation { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
Add(TBase)
Declaration
public void Add(TBase item)
Parameters
Type |
Name |
Description |
TBase |
item |
|
Clear()
Declaration
Contains(TBase)
Declaration
public bool Contains(TBase item)
Parameters
Type |
Name |
Description |
TBase |
item |
|
Returns
CopyTo(TBase[], Int32)
Declaration
public void CopyTo(TBase[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
TBase[] |
array |
|
Int32 |
arrayIndex |
|
GetEnumerator()
Declaration
public IEnumerator<TBase> GetEnumerator()
Returns
Remove(TBase)
Declaration
public bool Remove(TBase item)
Parameters
Type |
Name |
Description |
TBase |
item |
|
Returns
Extension Methods