CSharpTagHelperAttributeValueVisitor(CSharpCodeWriter, CodeGeneratorContext, String) 构造函数

定义

初始化 CSharpTagHelperAttributeValueVisitor 类的新实例。

public:
 CSharpTagHelperAttributeValueVisitor(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorContext ^ context, System::String ^ attributeTypeName);
public CSharpTagHelperAttributeValueVisitor (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext context, string attributeTypeName);
new Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CSharpTagHelperAttributeValueVisitor : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext * string -> Microsoft.AspNetCore.Razor.CodeGenerators.Visitors.CSharpTagHelperAttributeValueVisitor
Public Sub New (writer As CSharpCodeWriter, context As CodeGeneratorContext, attributeTypeName As String)

参数

writer
CSharpCodeWriter

CSharpCodeWriter用于编写代码的。

context
CodeGeneratorContext

一个 CodeGeneratorContext 实例,其中包含有关当前代码生成过程的信息。

attributeTypeName
String

Type 其写入值的属性的完整名称 CSharpTagHelperAttributeValueVisitor

适用于