Compartilhar via


SourceLocation Construtores

Definição

Sobrecargas

SourceLocation(Int32, Int32, Int32)

Inicializa uma nova instância de SourceLocation.

SourceLocation(String, Int32, Int32, Int32)

Inicializa uma nova instância de SourceLocation.

SourceLocation(Int32, Int32, Int32)

Inicializa uma nova instância de SourceLocation.

public:
 SourceLocation(int absoluteIndex, int lineIndex, int characterIndex);
public SourceLocation (int absoluteIndex, int lineIndex, int characterIndex);
new Microsoft.AspNetCore.Razor.SourceLocation : int * int * int -> Microsoft.AspNetCore.Razor.SourceLocation
Public Sub New (absoluteIndex As Integer, lineIndex As Integer, characterIndex As Integer)

Parâmetros

absoluteIndex
Int32

O índice absoluto.

lineIndex
Int32

O índice de linha.

characterIndex
Int32

O índice de caracteres.

Aplica-se a

SourceLocation(String, Int32, Int32, Int32)

Inicializa uma nova instância de SourceLocation.

public:
 SourceLocation(System::String ^ filePath, int absoluteIndex, int lineIndex, int characterIndex);
public SourceLocation (string filePath, int absoluteIndex, int lineIndex, int characterIndex);
new Microsoft.AspNetCore.Razor.SourceLocation : string * int * int * int -> Microsoft.AspNetCore.Razor.SourceLocation
Public Sub New (filePath As String, absoluteIndex As Integer, lineIndex As Integer, characterIndex As Integer)

Parâmetros

filePath
String

O caminho do arquivo.

absoluteIndex
Int32

O índice absoluto.

lineIndex
Int32

O índice de linha.

characterIndex
Int32

O índice de caracteres.

Aplica-se a