Class UniqueModifiedList<T>
Defines a unique list that can detect if it has been modified A UniqueList<T> that wraps a ModifiedList<T>
Inheritance
System.Object
UniqueModifiedList<T>
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
Namespace: ImageVault.Common.Lib.Collections.Generic
Assembly: ImageVault.Common.dll
Syntax
public class UniqueModifiedList<T> : UniqueListBase<T, ModifiedList<T>, ModifiedListFactory<T>>
Type Parameters
Name | Description |
---|---|
T |
Constructors
UniqueModifiedList(Boolean, Int32)
Initializes a new instance of the UniqueList<T> class.
Declaration
public UniqueModifiedList(bool quiet = false, int capacity = 16)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | quiet | |
System.Int32 | capacity |
UniqueModifiedList(IEqualityComparer<T>, Boolean, Int32)
Initializes a new instance of the UniqueList<T> class.
Declaration
public UniqueModifiedList(IEqualityComparer<T> comparer, bool quiet = false, int capacity = 16)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEqualityComparer<T> | comparer | |
System.Boolean | quiet | |
System.Int32 | capacity |
UniqueModifiedList(Func<T, T, Boolean>, Boolean, Int32)
Initializes a new instance of the UniqueList<T> class.
Declaration
public UniqueModifiedList(Func<T, T, bool> comparer, bool quiet = false, int capacity = 16)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, T, System.Boolean> | comparer | |
System.Boolean | quiet | |
System.Int32 | capacity |
UniqueModifiedList(Int32)
Initializes a new instance of the UniqueList<T> class.
Declaration
public UniqueModifiedList(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | The number of items the list initially can store |
Properties
IsModified
Get/sets the modified status of the list
Declaration
public bool IsModified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable