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