Class DefaultSerializationBinder
The default serialization binder used when resolving and loading classes from type names.
Inheritance
System.Object
System.Runtime.Serialization.SerializationBinder
DefaultSerializationBinder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public class DefaultSerializationBinder : SerializationBinder
Fields
| Improve this Doc View SourceInstance
Declaration
public static readonly DefaultSerializationBinder Instance
Field Value
| Type | Description |
|---|---|
| Default |
Methods
| Improve this Doc View SourceBindToName(Type, out String, out String)
When overridden in a derived class, controls the binding of a serialized object to a type.
Declaration
public override void BindToName(Type serializedType, out string assemblyName, out string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| System. |
serializedType | The type of the object the formatter creates a new instance of. |
| System. |
assemblyName | Specifies the System. |
| System. |
typeName | Specifies the System. |
Overrides
System.Runtime.Serialization.SerializationBinder.BindToName(System.Type, System.String, System.String)
|
Improve this Doc
View Source
BindToType(String, String)
When overridden in a derived class, controls the binding of a serialized object to a type.
Declaration
public override Type BindToType(string assemblyName, string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| System. |
assemblyName | Specifies the System. |
| System. |
typeName | Specifies the System. |
Returns
| Type | Description |
|---|---|
| System. |
The type of the object the formatter creates a new instance of. |
Overrides
System.Runtime.Serialization.SerializationBinder.BindToType(System.String, System.String)