CSharpCodeGenerator.CreateCSharpCodeVisitor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
protected:
virtual Microsoft::AspNetCore::Razor::CodeGenerators::Visitors::CSharpCodeVisitor ^ CreateCSharpCodeVisitor(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorContext ^ context);
protected virtual Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CSharpCodeVisitor CreateCSharpCodeVisitor (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext context);
abstract member CreateCSharpCodeVisitor : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext -> Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CSharpCodeVisitor
override this.CreateCSharpCodeVisitor : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext -> Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CSharpCodeVisitor
Protected Overridable Function CreateCSharpCodeVisitor (writer As CSharpCodeWriter, context As CodeGeneratorContext) As CSharpCodeVisitor
参数
- writer
- CSharpCodeWriter
- context
- CodeGeneratorContext