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