League Toolkit League Toolkit
League Toolkit League Toolkit
DocFX + Singulink = ♥

Search Results for

    Class MetaContainer<T>

    Represents a collection of elements serialized from a BinTreeContainer

    Inheritance
    System.Object
    MetaContainer<T>
    MetaUnorderedContainer<T>
    Namespace: LeagueToolkit.Meta
    Assembly: LeagueToolkit.dll
    Syntax
    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

    MetaContainer()

    Creates a new MetaContainer<T> object

    Declaration
    public MetaContainer()
    | Improve this Doc View Source

    MetaContainer(IEnumerable<T>)

    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

    MetaContainer(IEnumerable<T>, Int32)

    Creates a new fixed size MetaContainer<T> object with elements copied from the specified collection

    Declaration
    public MetaContainer(IEnumerable<T> collection, int fixedSize)
    Parameters
    Type Name Description
    IEnumerable<T> collection

    The elements of the MetaContainer<T>

    System.Int32 fixedSize

    The fixed size of the MetaContainer<T>

    Remarks

    If the count of elements in collection is lower than fixedSize, the remaining elements will be initialized to their default value

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FixedSize

    Gets the fixed size of the container

    Declaration
    public int FixedSize { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsFixedSize

    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

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public T this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Add(T)

    Declaration
    public void Add(T item)
    Parameters
    Type Name Description
    T item
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    Contains(T)

    Declaration
    public bool Contains(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CopyTo(T[], Int32)

    Declaration
    public void CopyTo(T[] array, int arrayIndex)
    Parameters
    Type Name Description
    T[] array
    System.Int32 arrayIndex
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    IEnumerator<T>
    | Improve this Doc View Source

    IndexOf(T)

    Declaration
    public int IndexOf(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Insert(Int32, T)

    Declaration
    public void Insert(int index, T item)
    Parameters
    Type Name Description
    System.Int32 index
    T item
    | Improve this Doc View Source

    Remove(T)

    Declaration
    public bool Remove(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveAt(Int32)

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index