ToAdvisableCollection<T>(IEnumerable<T>)
Converts an IEnumerable<T> into an AdvisableCollection<T>.
Declaration
public static AdvisableCollection<T> ToAdvisableCollection<T>(this IEnumerable<T> collection)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | collection | An IEnumerable<T>, or |
Returns
Type | Description |
---|---|
AdvisableCollection<T> | A new AdvisableCollection<T> containing all elements of |
Type Parameters
Name | Description |
---|---|
T | Type of collection items. |