MvcCSharpCodeGenerator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
MvcCSharpCodeGenerator(Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorContext ^ context, System::String ^ defaultModel, System::String ^ injectAttribute, Microsoft::AspNetCore::Mvc::Razor::GeneratedTagHelperAttributeContext ^ tagHelperAttributeContext);
public MvcCSharpCodeGenerator (Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext context, string defaultModel, string injectAttribute, Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext tagHelperAttributeContext);
new Microsoft.AspNetCore.Mvc.Razor.MvcCSharpCodeGenerator : Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext * string * string * Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext -> Microsoft.AspNetCore.Mvc.Razor.MvcCSharpCodeGenerator
Public Sub New (context As CodeGeneratorContext, defaultModel As String, injectAttribute As String, tagHelperAttributeContext As GeneratedTagHelperAttributeContext)
参数
- context
- CodeGeneratorContext
- defaultModel
- String
- injectAttribute
- String
- tagHelperAttributeContext
- GeneratedTagHelperAttributeContext