TriLib
Search Results for

    Show / Hide Table of Contents

    Class ConcurrentList<T>

    Represents a concurrent (thread-safe) List.

    Inheritance
    object
    ConcurrentList<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.General
    Assembly: TriLibCore.dll
    Syntax
    public class ConcurrentList<T>
    Type Parameters
    Name Description
    T

    List values type.

    Constructors

    ConcurrentList()

    Declaration
    public ConcurrentList()

    Properties

    Count

    Gets the List item count.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    this[int]

    Gets or sets the T at the specified index.

    Declaration
    public T this[int index] { get; set; }
    Parameters
    Type Name Description
    int index

    The index.

    Property Value
    Type Description
    T

    T.

    Methods

    Add(T)

    Adds the specified value to the Dictionary.

    Declaration
    public void Add(T value)
    Parameters
    Type Name Description
    T value

    The value to add.

    Contains(T)

    Determines whether this instance contains the object.

    Declaration
    public bool Contains(T item)
    Parameters
    Type Name Description
    T item

    The Item to look for.

    Returns
    Type Description
    bool

    true if [contains] [the specified item]; otherwise, false.

    Remove(T)

    Removes the specified value.

    Declaration
    public bool Remove(T value)
    Parameters
    Type Name Description
    T value

    The value to remove.

    Returns
    Type Description
    bool

    true if XXXX, false otherwise.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX