In This Article

IParseRequest Interface

Provides the base requirements of a parsing operation request.

public interface IParseRequest

Properties

CreatedDateTime

The DateTime at which the parse request was created.

DateTime CreatedDateTime { get; }

Property Value

DateTime

See Also

Language

The ISyntaxLanguage for which this parse request was created.

ISyntaxLanguage? Language { get; }

Property Value

ISyntaxLanguage

See Also

ParseHashKey

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

string ParseHashKey { get; }

Property Value

string

See Also

Parser

The IParser that will perform the parsing operation.

IParser Parser { get; }

Property Value

IParser

See Also

Priority

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

int Priority { get; }

Property Value

int:

The default value is ParseRequest.MediumPriority.

See Also

RepeatedRequestPause

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

int RepeatedRequestPause { get; set; }

Property Value

int:

The default value is 250.

See Also

Snapshot

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

ITextSnapshot? Snapshot { get; }

Property Value

ITextSnapshot

See Also

SourceKey

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

string SourceKey { get; }

Property Value

string

See Also

State

The current state of the request.

ParseRequestState State { get; set; }

Property Value

ParseRequestState

Remarks

This property should only be set by a IParseRequestDispatcher.

See Also

Tag

The object that contains user-defined data about the object.

object? Tag { get; set; }

Property Value

object

See Also

Target

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

IParseTarget? Target { get; }

Property Value

IParseTarget

See Also

TextBufferReader

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

ITextBufferReader TextBufferReader { get; }

Property Value

ITextBufferReader

See Also

Extension Methods

See Also