Condividi tramite


FeedbackContext Class

Definition

Context information about the last command line.

[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public sealed class FeedbackContext
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type FeedbackContext = class
Public NotInheritable Class FeedbackContext
Inheritance
FeedbackContext
Attributes

Constructors

FeedbackContext(FeedbackTrigger, Ast, Token[], PathInfo, ErrorRecord)

Initializes a new instance of the FeedbackContext class.

FeedbackContext(FeedbackTrigger, String, PathInfo, ErrorRecord)

Initializes a new instance of the FeedbackContext class.

Properties

CommandLine

Gets the last command line that was just executed.

CommandLineAst

Gets the abstract syntax tree (AST) generated from parsing the last command line.

CommandLineTokens

Gets the tokens generated from parsing the last command line.

CurrentLocation

Gets the current location of the default session.

LastError

Gets the last error record generated from executing the last command line.

Trigger

Gets the feedback trigger.

Applies to