The event arguments used by handle-deserialization to let registered deserialization code perform the deserialization.
Inheritance Hierarchy
EventArgs
HandleDeserializationEventArgs
Remarks
If the event handler determines that it can deserialize the xmlNode, it should place the result into the result property and thus mark the event as handled.
Type Details
- yFiles module
- view
Constructors
Initializes a new instance of the HandleDeserializationEventArgs class.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IParseContext
- The context in which serialization should take place.
- xmlNode - Node
- The XML element that contains the data to deserialize.
- targetType - Constructor
- The required targetType of the result.
Properties
Gets the context in which the xmlNode shall be deserialized.
Property Value
The context.
Gets or sets a value indicating whether this HandleDeserializationEventArgs is handled.
Remarks
Setting this property to
true
indicates to the event source that the result has been assigned and that the event should not be propagated to further listeners.Property Value
true
if this event has been handled; false
otherwise.Gets the type of the resulting instance that is required by the requesting deserializer or null
if the target type is not known in advance.