Class TypeResolverDeserializationBinder

Uses EPiServer.Data.Dynamic.TypeResolver to resolve type at deserialization.

Inheritance
System.Object
System.Runtime.Serialization.SerializationBinder
TypeResolverDeserializationBinder
Inherited Members
System.Runtime.Serialization.SerializationBinder.BindToName(System.Type, System.String, System.String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Serialization
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class TypeResolverDeserializationBinder : SerializationBinder

Constructors

TypeResolverDeserializationBinder()

Declaration
public TypeResolverDeserializationBinder()

Methods

BindToType(String, String)

Uses EPiServer.Data.Dynamic.TypeResolver to bind type name to type.

Declaration
public override Type BindToType(string assemblyName, string typeName)
Parameters
Type Name Description
System.String assemblyName

Is not used in this implementation.

System.String typeName

Specifies the System.Type name of the serialized object.

Returns
Type Description
System.Type

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

Overrides
System.Runtime.Serialization.SerializationBinder.BindToType(System.String, System.String)