public static IEnumerable ReadElements<T>( XContainer e, XName c, ICollection<T> coll, Func<string,T> conv )
Parameters
- e
- the
XContainer
to be read - c
- the name of the child elements
- coll
- an empty collection to which items are added
- conv
- a conversion function from String to the item data type, T
Type Parameters
- T
- the item data type
Return Value
the coll collection, containing all of the data items that were read