Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Interface: RT.Serialization.IClassifyObjectProcessor<TElement>

Summary

Contains methods to process an object and/or the associated serialized form before or after Classify (de)serializes it. To have effect, this interface must be implemented by the object being serialized.

Generic type parameters

TElement Type of the serialized form.

Remarks

This interface requires that the object type being serialized or deserialized implements it. If this is not possible, use IClassifyTypeProcessor<TElement> instead.

Instance methods

void
AfterDeserialize(TElement element)
  • Abstract
Post-processes this object after Classify has restored it from serialized form. This method is automatically invoked by Classify and should not be called directly.
void
AfterSerialize(TElement element)
  • Abstract
Post-processes the serialization produced by Classify for this object. This method is automatically invoked by Classify and should not be called directly.
void
BeforeDeserialize(TElement element)
  • Abstract
Pre-processes a serialized form before Classify restores the object from it. The object’s fields have not yet been populated when this method is called. This method is automatically invoked by Classify and should not be called directly.
void
  • Abstract
Pre-processes this object before Classify serializes it. This method is automatically invoked by Classify and should not be called directly.