Method Wrap
Wrap<T>(IList<T>)
Wraps any
Note that if the list is already an EquatableList<T> or a subclass
of it, this method simply returns the provided list
.
Declaration
public static IList<T> Wrap<T>(IList<T> list)
Parameters
Type | Name | Description |
---|---|---|
IList<T> | list | Any |
Returns
Type | Description |
---|---|
IList<T> | An EquatableList<T> that wraps the provided |
Type Parameters
Name | Description |
---|---|
T | the type of element |
Wrap<T>(ISet<T>)
Wraps any
Note that if the set is already an EquatableSet<T> or a subclass
of it, this method simply returns the provided set
.
Declaration
public static ISet<T> Wrap<T>(ISet<T> set)
Parameters
Type | Name | Description |
---|---|---|
ISet<T> | set | Any |
Returns
Type | Description |
---|---|
ISet<T> | An EquatableSet<T> that wraps the provided |
Type Parameters
Name | Description |
---|---|
T | the type of element |