Open sandboxFocus

Method ToAdvisableCollection

ToAdvisableCollection<T>(IEnumerable<T>)

Declaration
public static AdvisableCollection<T> ToAdvisableCollection<T>(this IEnumerable<T> collection)
Parameters
Type Name Description
IEnumerable<T> collection

An IEnumerable<T>, or null.

Returns
Type Description
AdvisableCollection<T>

A new AdvisableCollection<T> containing all elements of collection, or null if collection is empty.

Type Parameters
Name Description
T

Type of collection items.