Interface IListFactory<T, TList>
interface for managing lists
Assembly: ImageVault.Common.dll
Syntax
public interface IListFactory<out T, TList>
where TList : IList<T>
Type Parameters
Methods
Create(Int32)
Creates a list with the supplied capacity
Declaration
TList Create(int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
Returns
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