Search Results for

    Show / Hide Table of Contents

    Interface IListFactory<T, TList>

    interface for managing lists

    Namespace: ImageVault.Common.Lib.Collections.Generic
    Assembly: ImageVault.Common.dll
    Syntax
    public interface IListFactory<out T, TList>
        where TList : IList<T>
    Type Parameters
    Name Description
    T
    TList

    Methods

    Create(Int32)

    Creates a list with the supplied capacity

    Declaration
    TList Create(int capacity)
    Parameters
    Type Name Description
    System.Int32 capacity
    Returns
    Type Description
    TList

    FindIndex(TList, 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
    int FindIndex(TList list, Predicate<T> match)
    Parameters
    Type Name Description
    TList list
    System.Predicate<T> match
    Returns
    Type Description
    System.Int32

    Extension Methods

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