Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.68 KB

File metadata and controls

60 lines (40 loc) · 1.68 KB

EnumerableExtensions.ToObject method (1 of 3)

Turns a generic list of values to an object, mapping each list items to properties of the specified target type.

public static object ToObject(this IList src, Type targetclass, string[] attributes)
parameter description
src Source collection
targetclass Type of the object to create
attributes Attributes to map

See Also


EnumerableExtensions.ToObject<T> method (2 of 3)

Turns a generic list of values to an object, mapping each list items to properties of the specified target type. Uses ToObject

public static T ToObject<T>(this IEnumerable src, string[] attributes)
parameter description
src Source collection
attributes Attributes to map

See Also


EnumerableExtensions.ToObject<T> method (3 of 3)

Turns a generic list of values to an object, mapping each list items to properties of the specified target type. Uses ToObject

public static T ToObject<T>(this IList src, string[] attributes)
parameter description
src Source collection
attributes Attributes to map

See Also