The event arguments used by query-name to override automatic name determination in GraphML.
Inheritance Hierarchy
Remarks
If the event handler determines that it can resolve type to an XML name, it should place the result into the result property and thus mark the event as handled.
It is valid to provide only part of the XML name by setting the other part to null. In that case, the default name determination rules are used for that part.
Members
No filters for this type
Constructors
Initializes a new instance of the QueryNameEventArgs class.
Initializes a new instance of the QueryNameEventArgs class.
Parameters
- context: IWriteContext
- The context in which the lookup shall take place.
- type: Constructor
- The type that should be mapped.
Properties
Gets the context in which the type shall be mapped.
Gets the context in which the type shall be mapped.
readonlyfinal
Property Value
The context.
Gets or sets a value indicating whether this QueryNameEventArgs is handled.
Gets or sets a value indicating whether this QueryNameEventArgs 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 name query, which is null initially.
Gets or sets the result of the name query, which is
null initially.Setting this property will automatically set the handled property to true.
It is valid to provide only part of the XML name by setting the other part to null. In that case, the default name determination rules are used for that part.
final
Gets the type for which the XML name is queried.
Gets the type for which the XML name is queried.
readonlyfinal