Table of Contents

UseConvertibleFormatter Method

Definition

UseConvertibleFormatter(IDecorator<IHierarchy<DataPair>>)

A formatter implementation that resolves a IConvertible.

public static IConvertible UseConvertibleFormatter(this IDecorator<IHierarchy<DataPair>> decorator)

Parameters

decorator IDecorator<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

decorator cannot be null.