Search Results for

    Show / Hide Table of Contents

    Class SerializableList<T>

    A wrapper class of an array of serializable objects.

    Inheritance
    object
    SerializableList<T>
    Implements
    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LobsterFramework
    Assembly: LobsterFramework.dll
    Syntax
    [Serializable]
    public class SerializableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
    Type Parameters
    Name Description
    T

    The type of serializable object to be stored in the array

    Fields

    | Improve this Doc View Source

    items

    Declaration
    [SerializeField]
    protected List<T> items
    Field Value
    Type Description
    List<T>

    Properties

    | Improve this Doc View Source

    Count

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

    IsReadOnly

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

    this[int]

    Declaration
    public T this[int index] { get; set; }
    Parameters
    Type Name Description
    int 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
    bool
    | Improve this Doc View Source

    CopyTo(T[], int)

    Declaration
    public void CopyTo(T[] array, int arrayIndex)
    Parameters
    Type Name Description
    T[] array
    int 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
    int
    | Improve this Doc View Source

    Insert(int, T)

    Declaration
    public void Insert(int index, T item)
    Parameters
    Type Name Description
    int 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
    bool
    | Improve this Doc View Source

    RemoveAt(int)

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

    Implements

    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation