Search Results for

    Show / Hide Table of Contents

    Class ThreadSafeList<T>

    Inheritance
    System.Object
    ThreadSafeList<T>
    Namespace: OpenAPI.Utils
    Assembly: OpenAPI.dll
    Syntax
    public sealed class ThreadSafeList<T> : IList<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    ThreadSafeList()

    Declaration
    public ThreadSafeList()
    | Improve this Doc View Source

    ThreadSafeList(IEnumerable<T>)

    Declaration
    public ThreadSafeList(IEnumerable<T> items)
    Parameters
    Type Name Description
    IEnumerable<T> items

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | 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
    | Improve this Doc View Source

    TryAdd(T)

    Declaration
    public bool TryAdd(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX