C

HandleDeserializationEventArgs

The event arguments used by handle-deserialization to let registered deserialization code perform the deserialization.

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.

Members

No filters for this type

Constructors

Initializes a new instance of the HandleDeserializationEventArgs class.

Parameters

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.
readonlyfinal

Property Value

The context.
Gets or sets a value indicating whether this HandleDeserializationEventArgs is handled.
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.
final

Property Value

true if this event has been handled; false otherwise.
Gets or sets the result of the deserialization, which is null initially.
Setting this property will automatically set the handled property to true.
final

Throws

Exception ({ name: 'ArgumentError' })
If the value is not assignable to targetType
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.
readonlyfinal

Property Value

The type of the result.

See Also

API
deserializeCore
Gets the XML node that contains the data to deserialize.
readonlyfinal

Property Value

The XML node.