C# Class Newtonsoft.JsonV4.SerializationBinder

Allows users to control class loading and mandate what class to load.
ファイルを表示 Open project: mulesoft-labs/raml-dotnet-apicore

Public Methods

Method Description
BindToName ( Type serializedType, string &assemblyName, string &typeName ) : void

When overridden in a derived class, controls the binding of a serialized object to a type.

BindToType ( string assemblyName, string typeName ) : Type

When overridden in a derived class, controls the binding of a serialized object to a type.

Method Details

BindToName() public method

When overridden in a derived class, controls the binding of a serialized object to a type.
public BindToName ( Type serializedType, string &assemblyName, string &typeName ) : void
serializedType System.Type The type of the object the formatter creates a new instance of.
assemblyName string Specifies the name of the serialized object.
typeName string Specifies the name of the serialized object.
return void

BindToType() public abstract method

When overridden in a derived class, controls the binding of a serialized object to a type.
public abstract BindToType ( string assemblyName, string typeName ) : Type
assemblyName string Specifies the name of the serialized object.
typeName string Specifies the name of the serialized object
return System.Type