Class MetaContainer<T>
Inheritance
System.Object
MetaContainer<T>
Assembly: LeagueToolkit.dll
public class MetaContainer<T> : IList<T>
Type Parameters
Name |
Description |
T |
The type of the elements in the collection
|
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Creates a new MetaContainer<T> object with elements copied from the specified collection
Declaration
public MetaContainer(IEnumerable<T> collection)
Parameters
Type |
Name |
Description |
IEnumerable<T> |
collection |
The elements of the MetaContainer<T>
|
|
Improve this Doc
View Source
Creates a new fixed size MetaContainer<T> object with elements copied from the specified collection
Declaration
public MetaContainer(IEnumerable<T> collection, int fixedSize)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Gets the fixed size of the container
Declaration
public int FixedSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Gets a value indicating whether the container has a fixed size
Declaration
public bool IsFixedSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public T this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Declaration
Parameters
Type |
Name |
Description |
T |
item |
|
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
T[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type |
Description |
IEnumerator<T> |
|
|
Improve this Doc
View Source
Declaration
public int IndexOf(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public void Insert(int index, T item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
T |
item |
|
|
Improve this Doc
View Source
Declaration
public bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|