KGy SOFT

ISerializationBinder Interface

KGy SOFT Core Libraries Help
Represents a binder that can convert Type to and from string for serialization.

Namespace:  KGySoft.Serialization.Binary
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0
Syntax

public interface ISerializationBinder

The ISerializationBinder type exposes the following members.

Methods

  NameDescription
Public methodBindToName
Binds a Type to an assemblyName and typeName.
Public methodBindToType
Gets a Type associated by the provided assemblyName and typeName.
Top
Remarks

Provides the same functionality as the SerializationBinder class but makes the BindToName method available also in .NET 3.5.

If a binder class is used in BinarySerializationFormatter and the class is derived from SerializationBinder and implements this interface, then the BinarySerializationFormatter class is able to bind a Type in both directions even in .NET 3.5

See Also

Reference