Table of Contents

Constructor CodeActionEventArgs

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

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 Point

Current position.

startPosition Point

TextRange start position.

endPosition Point

TextRange end position.

error ISyntaxError

Syntax Error at current position.

hasCodeFixes bool

indiciates 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 Point

Current position.

error ISyntaxError

Syntax Error at current position.

hasCodeFixes bool

indiciates if code fixes are available for the given error.

hasCodeRefactors bool