Skip to content

OrleansJsonSerializationBinder Methods

Implementation of Newtonsoft.Json.Serialization.ISerializationBinder which resolves types using a TypeResolver.

BindToType(string, string)

override
View source
public override Type BindToType(string assemblyName, string typeName)
When overridden in a derived class, controls the binding of a serialized object to a type.

Parameters

assemblyNamestring
Specifies the System.Reflection.Assembly name of the serialized object.
typeNamestring
Specifies the System.Type name of the serialized object.

Returns

The type of the object the formatter creates a new instance of.