Class ModifiedListFactory<T>
List factory for ModifiedList<T>
Inheritance
System.Object
ModifiedListFactory<T>
Implements
IListFactory<T, ModifiedList<T>>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.Collections.Generic
Assembly: ImageVault.Common.dll
Syntax
public class ModifiedListFactory<T> : IListFactory<T, ModifiedList<T>>
Type Parameters
Name | Description |
---|---|
T |
Constructors
ModifiedListFactory()
Declaration
public ModifiedListFactory()
Methods
Create(Int32)
Creates a list with the supplied capacity
Declaration
public ModifiedList<T> Create(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity |
Returns
Type | Description |
---|---|
ModifiedList<T> |
FindIndex(ModifiedList<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(ModifiedList<T> list, Predicate<T> match)
Parameters
Type | Name | Description |
---|---|---|
ModifiedList<T> | list | |
System.Predicate<T> | match |
Returns
Type | Description |
---|---|
System.Int32 |