Constructor Diagnostic
- Namespace
- Alternet.Common.TypeScript.Types
- Assembly
- Alternet.Common.TypeScript.v9.dll
Diagnostic(string, int, string, int?, int?, DiagnosticCategory, int?, int?)
Initializes a new instance of the Diagnostic
class with specified parameters.
public Diagnostic(string filePath, int code, string message, int? start, int? length, DiagnosticCategory category, int? lineIndex, int? columnIndex)
Parameters
filePath
stringFile name containing diagnostic.
code
intSource code to which diagnostic is related.
message
stringDiagnostic description.
start
int?Start position of the diagnostic.
length
int?Diagnostic length.
category
DiagnosticCategoryDiagnostic category.
lineIndex
int?Line index of the diagnostic position.
columnIndex
int?Column index of the diagnostic position.