In This Article

IParseRequest Interface

Provides the base requirements of a parsing operation request.

public interface IParseRequest

Properties

CreatedDateTime

Gets the DateTime at which the parse request was created.

DateTime CreatedDateTime { get; }

Property Value

DateTime:

The DateTime at which the parse request was created.

See Also

Language

Gets the ISyntaxLanguage for which this parse request was created.

ISyntaxLanguage Language { get; }

Property Value

ISyntaxLanguage:

The ISyntaxLanguage for which this parse request was created.

See Also

ParseHashKey

Gets a hash key that uniquely identifies the parse request for a source/target combination.

string ParseHashKey { get; }

Property Value

string:

A hash key that uniquely identifies the parse request for a source/target combination.

See Also

Parser

Gets the IParser that will perform the parsing operation.

IParser Parser { get; }

Property Value

IParser:

The IParser that will perform the parsing operation.

See Also

Priority

Gets an integer value describing the priority of the request, where a higher number has a higher priority.

int Priority { get; }

Property Value

int:

An integer value describing the priority of the request, where a higher number has a higher priority. The default value is ParseRequest.MediumPriority.

See Also

RepeatedRequestPause

Gets or sets the number of milliseconds to pause if there are repeated attempts for this same request.

int RepeatedRequestPause { get; set; }

Property Value

int:

The number of milliseconds to pause if there are repeated attempts for this same request. The default value is 250.

See Also

Snapshot

Gets the ITextSnapshot, if available, for which the parse request was created.

ITextSnapshot Snapshot { get; }

Property Value

ITextSnapshot:

The ITextSnapshot, if available, for which the parse request was created.

See Also

SourceKey

Gets a text key, typically a filename, that uniquely identifies the text to parse.

string SourceKey { get; }

Property Value

string:

A text key, typically a filename, that uniquely identifies the text to parse.

See Also

State

Gets or sets the current state of the request.

ParseRequestState State { get; set; }

Property Value

ParseRequestState:

The current state of the request.

Remarks

This property should only be set by a IParseRequestDispatcher.

See Also

Tag

Gets or sets the object that contains user-defined data about the object.

object Tag { get; set; }

Property Value

object:

An object that contains user-defined data about the control. The default is null.

Remarks

Any type derived from the object class can be assigned to this property.

See Also

Target

Gets the IParseTarget that will be notified once the parsing operation is complete.

IParseTarget Target { get; }

Property Value

IParseTarget:

The IParseTarget that will be notified once the parsing operation is complete.

See Also

TextBufferReader

Gets the ITextBufferReader used to read the text that should be parsed.

ITextBufferReader TextBufferReader { get; }

Property Value

ITextBufferReader:

The ITextBufferReader used to read the text that should be parsed.

See Also

See Also