C# Class MsgPack.Serialization.PreGeneratedSerializerActivator

显示文件 Open project: msgpack/msgpack-cli Class Usage Examples

Public Methods

Method Description
CreateContext ( SerializationMethod method, PackerCompatibilityOptions compatibilityOptions ) : MsgPack.Serialization.SerializationContext

Creates new SerializationContext for generation based testing.

Private Methods

Method Description
InitializeKnownTypes ( ) : IList
InitializeSerializers ( IList knownTypes ) : MessagePackSerializerProvider>.Dictionary

Method Details

CreateContext() public static method

Creates new SerializationContext for generation based testing.
public static CreateContext ( SerializationMethod method, PackerCompatibilityOptions compatibilityOptions ) : MsgPack.Serialization.SerializationContext
method SerializationMethod .
compatibilityOptions PackerCompatibilityOptions for built-in serializers.
return MsgPack.Serialization.SerializationContext