Provides IntelliPrompt quick info data for the XML
language.
- Inheritance:
-
object
Quick
Info objectProvider Base
Constructors
XmlQuickInfoProvider()
Initializes a new instance of the XmlQuickInfoProvider
class.
Properties
ContextTypes
Gets the context Type
objects that are supported by this provider, which are the list of custom types
that are possibly returned by the Get
Property Value
- IEnumerable<Type>:
The context
Type
objects that are supported by this provider.
Methods
GetContext(IEditorView, int)
Returns an object describing the quick info context for the specified text offset, if any.
Parameter | Type | Description |
---|---|---|
view | IEditor |
The IEditor |
offset | int | The text offset to examine. |
Returns
- object:
An object describing the quick info context for the specified text offset, if any. A
null
value indicates that no context is available.
Remarks
This method is called in response to keyboard events.
OnSessionOpening(IQuickInfoSession)
Allows an inheritor to modify, filter and sort automatically-generated items before the specified IQuick
Parameter | Type | Description |
---|---|---|
session | IQuick |
The IQuick |
Returns
- bool:
true
if the session is allowed to open; otherwise,false
.
RequestSession(IEditorView, object)
Requests that an IQuick
Parameter | Type | Description |
---|---|---|
view | IEditor |
The IEditor |
context | object | A context object returned by Get |
Returns
- bool:
true
if a session was opened; otherwise,false
.
Inherited Members
-
Quick
Info Provider Base. Get Context(IHit Test Result) -
Quick
Info Provider Base. Request Session(IEditor View, object, bool) -
Quick
Info Provider Base. Can Track Pointer Input -
Quick
Info Provider Base. Key -
Quick
Info Provider Base. Orderings -
object.
Get Type() -
object.
Memberwise Clone() -
object.
To String() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()