Compartir a través de


CSharpLineMappingWriter Constructores

Definición

Sobrecargas

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

Inicializa una nueva instancia de CSharpLineMappingWriter usada para la generación de asignaciones de líneas en tiempo de ejecución. La instancia construida de no realiza un seguimiento de CSharpLineMappingWriter las asignaciones entre el contenido de Razor y el contenido generado.

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)

Parámetros

documentLocation
SourceLocation
contentLength
Int32

Se aplica a

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inicializa una nueva instancia de CSharpLineMappingWriter usada para la generación de asignaciones de líneas en tiempo de ejecución. La instancia construida de no realiza un seguimiento de CSharpLineMappingWriter las asignaciones entre el contenido de Razor y el contenido generado.

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)

Parámetros

writer
CSharpCodeWriter

en el que CSharpCodeWriter se va a escribir la salida.

documentLocation
SourceLocation

del SourceLocation contenido de Razor que se va a asignar.

sourceFileName
String

Ruta de acceso del archivo de entrada.

Se aplica 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)

Parámetros

documentLocation
SourceLocation
contentLength
Int32
sourceFilename
String

Se aplica a