IExternalSerializer Interface

Definition

Interface that allows third-party serializers to perform serialization, even when the types being serialized are not known (generics) at initialization time.

Types that inherit this interface are discovered through dependency injection and automatically incorporated in the Serialization Manager.

public interface IExternalSerializer
type IExternalSerializer = interface
Public Interface IExternalSerializer
Derived

Methods

DeepCopy(Object, ICopyContext)

Tries to create a copy of source.

Deserialize(Type, IDeserializationContext)

Tries to deserialize an item.

Initialize(Logger)

Initializes the external serializer. Called once when the serialization manager creates an instance of this type

IsSupportedType(Type)

Informs the serialization manager whether this serializer supports the type for serialization.

Serialize(Object, ISerializationContext, Type)

Tries to serialize an item.

Applies to