IExternalSerializer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |