Condividi tramite


CSharpLineMappingWriter Costruttori

Definizione

Overload

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

Inizializza una nuova istanza di utilizzata per la generazione di CSharpLineMappingWriter mapping della riga di runtime. L'istanza costruita di CSharpLineMappingWriter non tiene traccia dei mapping tra il contenuto Razor e il contenuto generato.

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)

Parametri

documentLocation
SourceLocation
contentLength
Int32

Si applica a

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inizializza una nuova istanza di utilizzata per la generazione di CSharpLineMappingWriter mapping della riga di runtime. L'istanza costruita di CSharpLineMappingWriter non tiene traccia dei mapping tra il contenuto Razor e il contenuto generato.

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)

Parametri

writer
CSharpCodeWriter

Oggetto a cui scrivere l'output CSharpCodeWriter .

documentLocation
SourceLocation

Oggetto SourceLocation del mapping del contenuto Razor.

sourceFileName
String

Percorso del file di input.

Si applica a

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)

Parametri

documentLocation
SourceLocation
contentLength
Int32
sourceFilename
String

Si applica a