Open sandboxFocus

Method Get

Get<T>()

Gets the IFormatter<T> for type T.

Declaration
IFormatter<T> Get<T>()
Returns
Type Description
IFormatter<T>
Type Parameters
Name Description
T

Get(Type)

Gets the IFormatter for the specified Type.

Declaration
IFormatter Get(Type objectType)
Parameters
Type Name Description
Type objectType
Returns
Type Description
IFormatter
Exceptions
Type Condition
FormatterNotFoundException

The repository cannot provide a formatter for the specified objectType.