Constructor Diagnostic
- Namespace
- Alternet.Common.TypeScript.Types
- Assembly
- Alternet.Common.TypeScript.v10.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
filePathstringFile name containing diagnostic.
codeintSource code to which diagnostic is related.
messagestringDiagnostic description.
startint?Start position of the diagnostic.
lengthint?Diagnostic length.
categoryDiagnosticCategoryDiagnostic category.
lineIndexint?Line index of the diagnostic position.
columnIndexint?Column index of the diagnostic position.