C# Class Hypermedia.Json.JsonConverterFactory

Inheritance: IJsonConverterFactory
Exibir arquivo Open project: cosullivan/Hypermedia Class Usage Examples

Public Methods

Method Description
CreateInstance ( Type type ) : IJsonConverter

Create an instance of the JSON converter for the given type.

This will always ensure that a converter is returned.

JsonConverterFactory ( ) : System

Constructor.

Private Methods

Method Description
DiscoverConverter ( Type type ) : IJsonConverter

Discover the converter from the given type.

Method Details

CreateInstance() public method

Create an instance of the JSON converter for the given type.
This will always ensure that a converter is returned.
public CreateInstance ( Type type ) : IJsonConverter
type System.Type The type to create the converter for.
return IJsonConverter

JsonConverterFactory() public method

Constructor.
public JsonConverterFactory ( ) : System
return System