C# 클래스 Newtonsoft.Json.Serialization.DefaultSerializationBinder

The default serialization binder used when resolving and loading classes from type names.
상속: System.Runtime.Serialization.SerializationBinder, ISerializationBinder
파일 보기 프로젝트 열기: JamesNK/Newtonsoft.Json 1 사용 예제들

공개 메소드들

메소드 설명
BindToName ( Type serializedType, string &assemblyName, string &typeName ) : void
BindToType ( string assemblyName, string typeName ) : Type

When overridden in a derived class, controls the binding of a serialized object to a type.

DefaultSerializationBinder ( ) : System

Initializes a new instance of the DefaultSerializationBinder class.

비공개 메소드들

메소드 설명
GetGenericTypeFromTypeName ( string typeName, Assembly assembly ) : Type
GetTypeByName ( TypeNameKey typeNameKey ) : Type
GetTypeFromTypeNameKey ( TypeNameKey typeNameKey ) : Type

메소드 상세

BindToName() 공개 메소드

public BindToName ( Type serializedType, string &assemblyName, string &typeName ) : void
serializedType System.Type
assemblyName string
typeName string
리턴 void

BindToType() 공개 메소드

When overridden in a derived class, controls the binding of a serialized object to a type.
public BindToType ( string assemblyName, string typeName ) : Type
assemblyName string Specifies the name of the serialized object.
typeName string Specifies the name of the serialized object.
리턴 System.Type

DefaultSerializationBinder() 공개 메소드

Initializes a new instance of the DefaultSerializationBinder class.
public DefaultSerializationBinder ( ) : System
리턴 System