Udostępnij za pośrednictwem


SourceLocation Konstruktory

Definicja

Przeciążenia

SourceLocation(Int32, Int32, Int32)

Inicjuje nowe wystąpienie klasy SourceLocation.

SourceLocation(String, Int32, Int32, Int32)

Inicjuje nowe wystąpienie klasy SourceLocation.

SourceLocation(Int32, Int32, Int32)

Inicjuje nowe wystąpienie klasy 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)

Parametry

absoluteIndex
Int32

Indeks bezwzględny.

lineIndex
Int32

Indeks wiersza.

characterIndex
Int32

Indeks znaków.

Dotyczy

SourceLocation(String, Int32, Int32, Int32)

Inicjuje nowe wystąpienie klasy 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)

Parametry

filePath
String

Ścieżka do pliku.

absoluteIndex
Int32

Indeks bezwzględny.

lineIndex
Int32

Indeks wiersza.

characterIndex
Int32

Indeks znaków.

Dotyczy