Table of Contents

UseDecimalFormatter Method

Definition

UseDecimalFormatter(IDecorator<IHierarchy<DataPair>>)

A formatter implementation that resolves a decimal.

public static decimal UseDecimalFormatter(this IDecorator<IHierarchy<DataPair>> decorator)

Parameters

decorator IDecorator<IHierarchy<DataPair>>

The decorator that wraps the IHierarchy<T> to extend.

Returns

decimal

A decimal from the enclosed IHierarchy<T> of the decorator.

Exceptions

ArgumentNullException

decorator cannot be null.