[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.ToItemCollection

ToItemCollection Method

ToItemCollection<T>(IList<T>)

Wraps the list to item collection.

Declaration
public static IItemCollection<T> ToItemCollection<T>(this IList<T> list)
Parameters
Type Name Description
IList<T> list

The list.

Returns
Type Description
IItemCollection<T>
Type Parameters
Name Description
T

The items type.

ToItemCollection<T>(IEnumerable<T>)

Wraps the list to item collection.

Declaration
public static IItemCollection<T> ToItemCollection<T>(this IEnumerable<T> seq)
Parameters
Type Name Description
IEnumerable<T> seq

The seq.

Returns
Type Description
IItemCollection<T>
Type Parameters
Name Description
T

The items type.