Partilhar via


CSharpLineMappingWriter Construtores

Definição

Sobrecargas

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

Inicializa uma nova instância de CSharpLineMappingWriter usada para a geração de mapeamentos de linha de runtime. A instância construída de CSharpLineMappingWriter não rastreia mapeamentos entre o conteúdo razor e o conteúdo gerado.

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

Aplica-se a

CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)

Inicializa uma nova instância de CSharpLineMappingWriter usada para a geração de mapeamentos de linha de runtime. A instância construída de CSharpLineMappingWriter não rastreia mapeamentos entre o conteúdo razor e o conteúdo gerado.

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

O CSharpCodeWriter para o qual gravar a saída.

documentLocation
SourceLocation

O SourceLocation do conteúdo razor que está sendo mapeando.

sourceFileName
String

O caminho do arquivo de entrada.

Aplica-se 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

Aplica-se a