CSharpLineMappingWriter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, Int32) | |
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String) |
Initializes a new instance of CSharpLineMappingWriter used for generation of runtime line mappings. The constructed instance of CSharpLineMappingWriter does not track mappings between the Razor content and the generated content. |
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)
Parameters
- writer
- CSharpCodeWriter
- documentLocation
- SourceLocation
- contentLength
- Int32
Applies to
CSharpLineMappingWriter(CSharpCodeWriter, SourceLocation, String)
Initializes a new instance of CSharpLineMappingWriter used for generation of runtime line mappings. The constructed instance of CSharpLineMappingWriter does not track mappings between the Razor content and the generated content.
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)
Parameters
- writer
- CSharpCodeWriter
The CSharpCodeWriter to write output to.
- documentLocation
- SourceLocation
The SourceLocation of the Razor content being mapping.
- sourceFileName
- String
The input file path.
Applies to
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)
Parameters
- writer
- CSharpCodeWriter
- documentLocation
- SourceLocation
- contentLength
- Int32
- sourceFilename
- String