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.
Language
The ISyntaxLanguage for which this parse request was created.
ParseHashKey
A hash key that uniquely identifies the parse request for a source/target combination.
Parser
The IParser that will perform the parsing operation.
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.
Snapshot
The ITextSnapshot, if available, for which the parse request was created.
SourceKey
A text key, typically a filename, that uniquely identifies the text to parse.
State
The current state of the request.
ParseRequestState State { get; set; }
Property Value
Remarks
This property should only be set by a IParseRequestDispatcher.
See Also
Tag
The object that contains user-defined data about the object.
Target
The IParseTarget that will be notified once the parsing operation is complete.
TextBufferReader
The ITextBufferReader used to read the text that should be parsed.
Extension Methods
- ObjectExtensions.TryConvertToDouble(object, out double)
- ObjectExtensions.TryConvertToDouble(object, IFormatProvider, out double)