共用方式為


CSharpCodeWriter.WriteStartInstrumentationContext 方法

定義

多載

WriteStartInstrumentationContext(ChunkGeneratorContext, SyntaxTreeNode, Boolean)
WriteStartInstrumentationContext(ChunkGeneratorContext, Int32, Int32, Boolean)

WriteStartInstrumentationContext(ChunkGeneratorContext, SyntaxTreeNode, Boolean)

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteStartInstrumentationContext(Microsoft::AspNetCore::Razor::Chunks::Generators::ChunkGeneratorContext ^ context, Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SyntaxTreeNode ^ syntaxNode, bool isLiteral);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteStartInstrumentationContext (Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext context, Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode syntaxNode, bool isLiteral);
member this.WriteStartInstrumentationContext : Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext * Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode * bool -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteStartInstrumentationContext (context As ChunkGeneratorContext, syntaxNode As SyntaxTreeNode, isLiteral As Boolean) As CSharpCodeWriter

參數

syntaxNode
SyntaxTreeNode
isLiteral
Boolean

傳回

適用於

WriteStartInstrumentationContext(ChunkGeneratorContext, Int32, Int32, Boolean)

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteStartInstrumentationContext(Microsoft::AspNetCore::Razor::Chunks::Generators::ChunkGeneratorContext ^ context, int absoluteIndex, int length, bool isLiteral);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteStartInstrumentationContext (Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext context, int absoluteIndex, int length, bool isLiteral);
member this.WriteStartInstrumentationContext : Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext * int * int * bool -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteStartInstrumentationContext (context As ChunkGeneratorContext, absoluteIndex As Integer, length As Integer, isLiteral As Boolean) As CSharpCodeWriter

參數

absoluteIndex
Int32
length
Int32
isLiteral
Boolean

傳回

適用於