Table of Contents

Class FormerlyKnownAsBinder

Namespace
Homa.Sdk.Foundation
Assembly
Homa.Sdk.Foundation.dll

Allows deserialization of types that were renamed or moved to another namespaces.

public sealed class FormerlyKnownAsBinder : ISerializationBinder
Inheritance
FormerlyKnownAsBinder
Implements
ISerializationBinder
Inherited Members

Methods

BindToName(Type, out string, out string)

When implemented, controls the binding of a serialized object to a type.

public void BindToName(Type serializedType, out string assemblyName, out string typeName)

Parameters

serializedType Type

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

assemblyName string

Specifies the Assembly name of the serialized object.

typeName string

Specifies the Type name of the serialized object.

BindToType(string, string)

When implemented, controls the binding of a serialized object to a type.

public Type BindToType(string assemblyName, string typeName)

Parameters

assemblyName string

Specifies the Assembly name of the serialized object.

typeName string

Specifies the Type name of the serialized object

Returns

Type

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