Click or drag to resize
PolymorphismSchemaForContextSpecifiedDictionary Method
Creates a new instance of the PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static PolymorphismSchema ForContextSpecifiedDictionary(
	Type targetType,
	PolymorphismSchema keySchema,
	PolymorphismSchema valueSchema
)

Parameters

targetType
Type: SystemType
The type of the serialization target.
keySchema
Type: MsgPack.SerializationPolymorphismSchema
The schema for dictionary keys of the serialization target dictionary.
valueSchema
Type: MsgPack.SerializationPolymorphismSchema
The schema for dictionary values of the serialization target dictionary.

Return Value

Type: PolymorphismSchema
A new instance of the PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetType is null.
See Also