Sdílet prostřednictvím


CSharpLineMappingWriter Konstruktory

Definice

Přetížení

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

Inicializuje novou instanci CSharpLineMappingWriter použité pro generování mapování řádků modulu runtime. Vytvořená instance CSharpLineMappingWriter nesleduje mapování mezi obsahem Razor a vygenerovaným obsahem.

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

Platí pro

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inicializuje novou instanci CSharpLineMappingWriter použité pro generování mapování řádků modulu runtime. Vytvořená instance CSharpLineMappingWriter nesleduje mapování mezi obsahem Razor a vygenerovaným obsahem.

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

Výstup CSharpCodeWriter se zapisuje do.

documentLocation
SourceLocation

Obsah SourceLocation Razor, který se mapuje.

sourceFileName
String

Cesta ke vstupnímu souboru.

Platí pro

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

Platí pro