Table of Contents

UseDateTimeFormatter Method

Definition

UseDateTimeFormatter(IDecorator<IHierarchy<DataPair>>)

A formatter implementation that resolves a DateTime.

public static DateTime UseDateTimeFormatter(this IDecorator<IHierarchy<DataPair>> decorator)

Parameters

decorator IDecorator<IHierarchy<DataPair>>

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

Returns

DateTime

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