Get<T>()
Returns the formatter for the type T.
Declaration
public IFormatter<T> Get<T>()Returns
| Type | Description |
|---|---|
| IFormatter<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Implements
Get(Type)
Returns a formatter for a specific object. This overload should be used when the type of the object is not known at build time because the type is non-sealed.
Declaration
public IFormatter Get(Type objectType)Parameters
| Type | Name | Description |
|---|---|---|
| Type | objectType | Object type. |
Returns
| Type | Description |
|---|---|
| IFormatter | The formatter the object |