Search Results for

    Show / Hide Table of Contents

    Class ListFactory<T>

    ListFactory implementation for System.Collections.Generic.List<>

    Inheritance
    System.Object
    ListFactory<T>
    Implements
    IListFactory<T, System.Collections.Generic.List<T>>
    Namespace: ImageVault.Common.Lib.Collections.Generic
    Assembly: ImageVault.Common.dll
    Syntax
    public class ListFactory<T> : Object, IListFactory<T, List<T>>
    Type Parameters
    Name Description
    T

    Constructors

    ListFactory()

    Declaration
    public ListFactory()

    Methods

    Create(Int32)

    Declaration
    public List<T> Create(int capacity)
    Parameters
    Type Name Description
    System.Int32 capacity
    Returns
    Type Description
    System.Collections.Generic.List<T>

    FindIndex(List<T>, Predicate<T>)

    Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire list.

    Declaration
    public int FindIndex(List<T> list, Predicate<T> match)
    Parameters
    Type Name Description
    System.Collections.Generic.List<T> list
    System.Predicate<T> match
    Returns
    Type Description
    System.Int32

    Implements

    IListFactory<T, TList>

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022