C# 클래스 MsgPack.Serialization.PolymorphismSchema

파일 보기 프로젝트 열기: msgpack/msgpack-cli 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Create PolymorphismSchema
FilterSelf PolymorphismSchema
PolymorphismSchema System
PolymorphismSchema System
PolymorphismSchema System
PolymorphismSchema System
SerializerDebugging type.GetIsValueType()){
ToDebugString void
VerifyArity void

공개 메소드들

메소드 설명
ForContextSpecifiedCollection ( Type targetType, PolymorphismSchema itemSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for collection object which uses declared type or context specified concrete type.

ForContextSpecifiedDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.

ForPolymorphicCollection ( Type targetType, Type>.IDictionary codeTypeMapping, PolymorphismSchema itemSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for collection object which uses ext-type code mapping based polymorphism.

ForPolymorphicCollection ( Type targetType, PolymorphismSchema itemSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for collection object which uses type embedding based polymorphism.

ForPolymorphicCollection ( Type targetType, PolymorphismSchema itemSchema, bool>.Func typeVerifier ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for collection object which uses type embedding based polymorphism.

ForPolymorphicDictionary ( Type targetType, Type>.IDictionary codeTypeMapping, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for dictionary object which uses ext-type code mapping based polymorphism.

ForPolymorphicDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for dictionary object which uses type embedding based polymorphism.

ForPolymorphicDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema, bool>.Func typeVerifier ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for dictionary object which uses type embedding based polymorphism.

ForPolymorphicObject ( Type targetType ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.

ForPolymorphicObject ( Type targetType, bool>.Func typeVerifier ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.

ForPolymorphicObject ( Type targetType, Type>.IDictionary codeTypeMapping ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for non-collection object which uses ext-type code mapping based polymorphism.

ForPolymorphicTuple ( Type targetType, PolymorphismSchema itemSchemaList ) : PolymorphismSchema

Creates a new instance of the PolymorphismSchema class for Tuple object.

비공개 메소드들

메소드 설명
Create ( Type type, MsgPack.Serialization.SerializingMember memberMayBeNull ) : PolymorphismSchema
FilterSelf ( ) : PolymorphismSchema
PolymorphismSchema ( ) : System
PolymorphismSchema ( Type targetType, PolymorphismType polymorphismType, bool>.Func typeVerifier, PolymorphismSchemaChildrenType childrenType ) : System
PolymorphismSchema ( Type targetType, PolymorphismType polymorphismType, Type>.IDictionary codeTypeMapping, bool>.Func typeVerifier, PolymorphismSchemaChildrenType childrenType ) : System
PolymorphismSchema ( Type targetType, PolymorphismType polymorphismType, Type>.ReadOnlyDictionary codeTypeMapping, bool>.Func typeVerifier, PolymorphismSchemaChildrenType childrenType, ReadOnlyCollection childItemSchemaList ) : System
SerializerDebugging ( ) : type.GetIsValueType()){
ToDebugString ( System.StringBuilder buffer ) : void
VerifyArity ( Type tupleType, ICollection itemSchemaList ) : void

메소드 상세

ForContextSpecifiedCollection() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for collection object which uses declared type or context specified concrete type.
is null.
public static ForContextSpecifiedCollection ( Type targetType, PolymorphismSchema itemSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
itemSchema PolymorphismSchema The schema for collection items of the serialization target collection.
리턴 PolymorphismSchema

ForContextSpecifiedDictionary() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.
is null.
public static ForContextSpecifiedDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
keySchema PolymorphismSchema The schema for dictionary keys of the serialization target dictionary.
valueSchema PolymorphismSchema The schema for dictionary values of the serialization target dictionary.
리턴 PolymorphismSchema

ForPolymorphicCollection() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for collection object which uses ext-type code mapping based polymorphism.
is null.
public static ForPolymorphicCollection ( Type targetType, Type>.IDictionary codeTypeMapping, PolymorphismSchema itemSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
codeTypeMapping Type>.IDictionary The code type mapping which maps between ext-type codes and .NET s.
itemSchema PolymorphismSchema The schema for collection items of the serialization target collection.
리턴 PolymorphismSchema

ForPolymorphicCollection() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for collection object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicCollection ( Type targetType, PolymorphismSchema itemSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
itemSchema PolymorphismSchema The schema for collection items of the serialization target collection.
리턴 PolymorphismSchema

ForPolymorphicCollection() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for collection object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicCollection ( Type targetType, PolymorphismSchema itemSchema, bool>.Func typeVerifier ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
itemSchema PolymorphismSchema The schema for collection items of the serialization target collection.
typeVerifier bool>.Func The delegate which verifies loading type in runtime type polymorphism.
리턴 PolymorphismSchema

ForPolymorphicDictionary() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for dictionary object which uses ext-type code mapping based polymorphism.
is null.
public static ForPolymorphicDictionary ( Type targetType, Type>.IDictionary codeTypeMapping, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
codeTypeMapping Type>.IDictionary The code type mapping which maps between ext-type codes and .NET s.
keySchema PolymorphismSchema The schema for dictionary keys of the serialization target dictionary.
valueSchema PolymorphismSchema The schema for dictionary values of the serialization target dictionary.
리턴 PolymorphismSchema

ForPolymorphicDictionary() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for dictionary object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
keySchema PolymorphismSchema The schema for dictionary keys of the serialization target dictionary.
valueSchema PolymorphismSchema The schema for dictionary values of the serialization target dictionary.
리턴 PolymorphismSchema

ForPolymorphicDictionary() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for dictionary object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicDictionary ( Type targetType, PolymorphismSchema keySchema, PolymorphismSchema valueSchema, bool>.Func typeVerifier ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
keySchema PolymorphismSchema The schema for dictionary keys of the serialization target dictionary.
valueSchema PolymorphismSchema The schema for dictionary values of the serialization target dictionary.
typeVerifier bool>.Func The delegate which verifies loading type in runtime type polymorphism.
리턴 PolymorphismSchema

ForPolymorphicObject() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicObject ( Type targetType ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
리턴 PolymorphismSchema

ForPolymorphicObject() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.
is null.
public static ForPolymorphicObject ( Type targetType, bool>.Func typeVerifier ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
typeVerifier bool>.Func The delegate which verifies loading type in runtime type polymorphism.
리턴 PolymorphismSchema

ForPolymorphicObject() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for non-collection object which uses ext-type code mapping based polymorphism.
is null.
public static ForPolymorphicObject ( Type targetType, Type>.IDictionary codeTypeMapping ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
codeTypeMapping Type>.IDictionary The code-type mapping which maps between ext-type codes and .NET s.
리턴 PolymorphismSchema

ForPolymorphicTuple() 공개 정적인 메소드

Creates a new instance of the PolymorphismSchema class for Tuple object.
is null. A count of does not match for an arity of the tuple type specified as .
public static ForPolymorphicTuple ( Type targetType, PolymorphismSchema itemSchemaList ) : PolymorphismSchema
targetType System.Type The type of the serialization target.
itemSchemaList PolymorphismSchema The schema for collection items of the serialization target tuple. null or empty indicates all items do not have any polymorphism.
리턴 PolymorphismSchema