Class MergedCollection<T>
Inheritance
MergedCollection<T>
Syntax
public class MergedCollection<T> : IMergedCollection<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Constructors
MergedCollection()
Declaration
public MergedCollection()
Properties
Count
Declaration
public int Count { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
Add(T)
Declaration
public virtual void Add(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Clear()
Declaration
public virtual void Clear()
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Int32 |
arrayIndex |
|
ForType<TI>()
Declaration
public ICollection<TI> ForType<TI>()
where TI : T
Returns
Type Parameters
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Include<TI>(ICollection<TI>)
Declaration
public void Include<TI>(ICollection<TI> collection)
where TI : T
Parameters
Type Parameters
Includes(Type)
Declaration
public bool Includes(Type implementationType)
Parameters
Type |
Name |
Description |
Type |
implementationType |
|
Returns
Implements
Includes<TI>()
Declaration
public bool Includes<TI>()
where TI : T
Returns
Type Parameters
Implements
Remove(T)
Declaration
public virtual bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Extension Methods