Edytuj

Udostępnij za pośrednictwem


IStorageSerializationPicker Interface

Definition

A strategy to pick a serializer or a deserializer for storage operations. As for an example, this can be used to:

  1. Add a custom serializer or deserializer for use in storage provider operations (e.g. ProtoBuf or something else).
  2. In combination with serializer or deserializer to update stored object version.
  3. Per-grain storage format selection
  4. Switch storage format first by reading using the save format and then writing in the new format.
public interface IStorageSerializationPicker
type IStorageSerializationPicker = interface
Public Interface IStorageSerializationPicker
Derived

Properties

Deserializers

The configured deserializers.

Serializers

The configured serializers.

Methods

PickDeserializer(String, String, String, GrainReference, IGrainState, String)

Picks a deserializer using the given parameters.

PickSerializer(String, String, String, GrainReference, IGrainState, String)

Picks a serializer using the given parameters.

Applies to