SerializationContext Class |
Namespace: MsgPack.Serialization
The SerializationContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | SerializationContext |
Initializes a new instance of the SerializationContext class with copy of GetDefault.
|
![]() | SerializationContext(PackerCompatibilityOptions) |
Initializes a new instance of the SerializationContext class with copy of GetDefault(PackerCompatibilityOptions) for specified PackerCompatibilityOptions.
|
Name | Description | |
---|---|---|
![]() | CompatibilityOptions |
Gets the compatibility options.
|
![]() ![]() | Default |
Gets or sets the default instance.
|
![]() | DefaultCollectionTypes |
Gets the default collection types.
|
![]() | DefaultDateTimeConversionMethod |
Gets or sets the default DateTime conversion methods of built-in serializers.
|
![]() | EnumSerializationMethod |
Gets or sets the EnumSerializationMethod to determine default serialization strategy of enum types.
|
![]() | ExtTypeCodeMapping |
Gets the current mapping table of ext type code.
|
![]() | GeneratorOption |
Gets or sets the SerializationMethodGeneratorOption to control code generation.
|
![]() | SerializationMethod |
Gets or sets the SerializationMethod to determine serialization strategy.
|
![]() | Serializers |
Gets the current SerializerRepository.
|
Name | Description | |
---|---|---|
![]() ![]() | ConfigureClassic |
Configures Default as new classic SerializationContext instance.
|
![]() ![]() | CreateClassicContext |
Creates a new SerializationContext which is configured as same as 0.5.
|
![]() | GetSerializer(Type) |
Gets the serializer for the specified Type.
|
![]() | GetSerializer(Type, Object) |
Gets the serializer for the specified Type.
|
![]() | GetSerializerT |
Gets the MessagePackSerializerT with this instance without provider parameter.
|
![]() | GetSerializerT(Object) |
Gets the MessagePackSerializerT with this instance.
|
Name | Description | |
---|---|---|
![]() | ResolveSerializer |
Occurs when the context have not find appropriate registered nor built-in serializer for specified type.
|