C# Class XSerializer.JsonSerializer

A factory class that creates instances of the IXSerializer interface.
An instance of the generic JsonSerializer{T} class is returned from each method in this class.
Afficher le fichier Open project: QuickenLoans/XSerializer

Méthodes publiques

Méthode Description
Create ( Type type ) : IXSerializer

Create an instance of IXSerializer for the given type using a default configuration.

An instance of the generic JsonSerializer{T} class of type type is returned from this method.

Create ( Type type, IJsonSerializerConfiguration configuration ) : IXSerializer

Create an instance of IXSerializer for the given type using the specified configuration.

An instance of the generic JsonSerializer{T} class of type type is returned from this method.

Method Details

Create() public static méthode

Create an instance of IXSerializer for the given type using a default configuration.
An instance of the generic JsonSerializer{T} class of type type is returned from this method.
public static Create ( Type type ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
Résultat IXSerializer

Create() public static méthode

Create an instance of IXSerializer for the given type using the specified configuration.
An instance of the generic JsonSerializer{T} class of type type is returned from this method.
public static Create ( Type type, IJsonSerializerConfiguration configuration ) : IXSerializer
type System.Type The type of the object that the serializer will operate on.
configuration IJsonSerializerConfiguration The configuration for the serializer.
Résultat IXSerializer