Udostępnij za pośrednictwem


CSharpLineMappingWriter Konstruktory

Definicja

Przeciążenia

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32)
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inicjuje CSharpLineMappingWriter nowe wystąpienie używane do generowania mapowań wierszy środowiska uruchomieniowego. Skonstruowane wystąpienie CSharpLineMappingWriter elementu nie śledzi mapowań między zawartością Razor i wygenerowaną zawartością.

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32, String)

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32)

public:
 CSharpLineMappingWriter(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, Microsoft::AspNetCore::Razor::SourceLocation documentLocation, int contentLength);
public CSharpLineMappingWriter (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, Microsoft.AspNetCore.Razor.SourceLocation documentLocation, int contentLength);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.SourceLocation * int -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter
Public Sub New (writer As CSharpCodeWriter, documentLocation As SourceLocation, contentLength As Integer)

Parametry

documentLocation
SourceLocation
contentLength
Int32

Dotyczy

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inicjuje CSharpLineMappingWriter nowe wystąpienie używane do generowania mapowań wierszy środowiska uruchomieniowego. Skonstruowane wystąpienie CSharpLineMappingWriter elementu nie śledzi mapowań między zawartością Razor i wygenerowaną zawartością.

public:
 CSharpLineMappingWriter(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, Microsoft::AspNetCore::Razor::SourceLocation documentLocation, System::String ^ sourceFileName);
public CSharpLineMappingWriter (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, Microsoft.AspNetCore.Razor.SourceLocation documentLocation, string sourceFileName);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.SourceLocation * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter
Public Sub New (writer As CSharpCodeWriter, documentLocation As SourceLocation, sourceFileName As String)

Parametry

writer
CSharpCodeWriter

Element CSharpCodeWriter do zapisu danych wyjściowych.

documentLocation
SourceLocation

Mapowanie SourceLocation zawartości Razor.

sourceFileName
String

Ścieżka pliku wejściowego.

Dotyczy

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32, String)

public:
 CSharpLineMappingWriter(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, Microsoft::AspNetCore::Razor::SourceLocation documentLocation, int contentLength, System::String ^ sourceFilename);
public CSharpLineMappingWriter (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, Microsoft.AspNetCore.Razor.SourceLocation documentLocation, int contentLength, string sourceFilename);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.SourceLocation * int * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter
Public Sub New (writer As CSharpCodeWriter, documentLocation As SourceLocation, contentLength As Integer, sourceFilename As String)

Parametry

documentLocation
SourceLocation
contentLength
Int32
sourceFilename
String

Dotyczy