Open sandboxFocus

Method TryGet

TryGet(Type, out IFormatter?)

Attempts to get the IFormatter for the specified Type.

Declaration
bool TryGet(Type objectType, out IFormatter? formatter)
Parameters
Type Name Description
Type objectType
IFormatter formatter
Returns
Type Description
bool