UseConvertibleFormatter Method
Definition
- Namespace
- Cuemon.Extensions.Runtime
- Assemblies
- Cuemon.Extensions.Core.dll
UseConvertibleFormatter(IDecorator<IHierarchy<DataPair>>)
A formatter implementation that resolves a IConvertible.
public static IConvertible UseConvertibleFormatter(this IDecorator<IHierarchy<DataPair>> decorator)
Parameters
decoratorIDecorator<IHierarchy<DataPair>>The decorator that wraps the IHierarchy<T> to extend.
Returns
- IConvertible
A IConvertible from the enclosed IHierarchy<T> of the
decorator.
Exceptions
- ArgumentNullException
decoratorcannot be null.