Constructor CodeActionEventArgs
CodeActionEventArgs(Point, Point, Point, ISyntaxError, bool, bool)
Initializes CodeFixEventArgs
with specified references.
public CodeActionEventArgs(Point position, Point startPosition, Point endPosition, ISyntaxError error, bool hasCodeFixes, bool hasCodeRefactors)
Parameters
position
PointCurrent position.
startPosition
PointTextRange start position.
endPosition
PointTextRange end position.
error
ISyntaxErrorSyntax Error at current position.
hasCodeFixes
boolindiciates if code fixes are available for the given error.
hasCodeRefactors
bool
CodeActionEventArgs(Point, ISyntaxError, bool, bool)
Initializes CodeFixEventArgs
with specified references.
public CodeActionEventArgs(Point position, ISyntaxError error, bool hasCodeFixes, bool hasCodeRefactors)
Parameters
position
PointCurrent position.
error
ISyntaxErrorSyntax Error at current position.
hasCodeFixes
boolindiciates if code fixes are available for the given error.
hasCodeRefactors
bool