IsNodeEnumerable Method
Definition
- Assemblies
- Cuemon.Xml.dll
IsNodeEnumerable(IDecorator<IHierarchy<object>>)
Determines whether the underlying IHierarchy<T> of the decorator implements either IEnumerable or IEnumerable<T> and is not a string.
public static bool IsNodeEnumerable(this IDecorator<IHierarchy<object>> decorator)
Parameters
decoratorIDecorator<IHierarchy<object>>The decorator that wraps the IHierarchy<T> to extend.
Returns
- bool
trueif the underlying IHierarchy<T> of thedecoratorimplements either IEnumerable or IEnumerable<T> and is not a string; otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null.