The event arguments used by HandleDeserialization and HandleDeserialization 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-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.HandleDeserializationEventArgs
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 - Class
- The required target type of the result.
Properties
Gets the context in which the xmlNode shall be deserialized.
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.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.