UseDecimalFormatter Method
Definition
- Namespace
- Cuemon.Extensions.Runtime
- Assemblies
- Cuemon.Extensions.Core.dll
UseDecimalFormatter(IDecorator<IHierarchy<DataPair>>)
A formatter implementation that resolves a decimal.
public static decimal UseDecimalFormatter(this IDecorator<IHierarchy<DataPair>> decorator)
Parameters
decoratorIDecorator<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
decoratorcannot be null.