CSharpLineMappingWriter Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32) | |
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String) |
Initialisiert eine neue instance von, die CSharpLineMappingWriter für die Generierung von Laufzeitlinienzuordnungen verwendet wird. Die erstellte instance von CSharpLineMappingWriter verfolgt keine Zuordnungen zwischen dem Razor-Inhalt und dem generierten Inhalt. |
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)
Parameter
- writer
- CSharpCodeWriter
- documentLocation
- SourceLocation
- contentLength
- Int32
Gilt für:
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)
Initialisiert eine neue instance von, die CSharpLineMappingWriter für die Generierung von Laufzeitlinienzuordnungen verwendet wird. Die erstellte instance von CSharpLineMappingWriter verfolgt keine Zuordnungen zwischen dem Razor-Inhalt und dem generierten Inhalt.
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)
Parameter
- writer
- CSharpCodeWriter
Der CSharpCodeWriter , in den die Ausgabe geschrieben werden soll.
- documentLocation
- SourceLocation
Die SourceLocation des Razor-Inhalts, der zugeordnet wird.
- sourceFileName
- String
Der Pfad der Eingabedatei.
Gilt für:
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)
Parameter
- writer
- CSharpCodeWriter
- documentLocation
- SourceLocation
- contentLength
- Int32
- sourceFilename
- String