Overload | Description |
---|---|
Flatten<T>(IEnumerable<T>,Func<T,IEnumerable<T>>) | This method extends the LINQ methods to flatten a collection of items that have a property of children of the same type. |
Flatten<T>(T,Func<T,IEnumerable<T>>) | This method extends the LINQ methods to obtain a single-level collection of descendants(is a collections) of an object of type T |
Flatten<T>(T,Func<T,T>) | This method extends the LINQ methods to obtain a single-level collection of descendants(is an object) of an object of type T |