Partager via


MvcCSharpCodeGenerator Constructeur

Définition

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)

Paramètres

defaultModel
String
injectAttribute
String
tagHelperAttributeContext
GeneratedTagHelperAttributeContext

S’applique à