Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.21 KB

File metadata and controls

41 lines (28 loc) · 1.21 KB

EnumerableExtensions.AsObjectCollection method (1 of 2)

Turns a generic IEnumerable into an object[] enumeration (each property being mapped into the array)

public static IEnumerable<object[]> AsObjectCollection(this IEnumerable src, 
    params string[] properties)
parameter description
src Source enumeration
properties Name of the properties to use to populate the array

See Also


EnumerableExtensions.AsObjectCollection<T> method (2 of 2)

Turns a generic IEnumerable into an object[] enumeration (each property being mapped into the array)

public static IEnumerable<object[]> AsObjectCollection<T>(this IEnumerable<T> src, 
    params string[] properties)
parameter description
src Source enumeration
properties Name of the properties to use to populate the array

See Also