RazorPageScaffolderBase 类

定义

public ref class RazorPageScaffolderBase abstract : Microsoft::VisualStudio::Web::CodeGenerators::Mvc::CommonGeneratorBase
public abstract class RazorPageScaffolderBase : Microsoft.VisualStudio.Web.CodeGenerators.Mvc.CommonGeneratorBase
type RazorPageScaffolderBase = class
    inherit CommonGeneratorBase
Public MustInherit Class RazorPageScaffolderBase
Inherits CommonGeneratorBase
继承
RazorPageScaffolderBase
派生

构造函数

RazorPageScaffolderBase(IProjectContext, IApplicationInfo, ICodeGeneratorActionsService, IServiceProvider, ILogger)

字段

_codeGeneratorActionsService
_logger
_projectContext
_serviceProvider

属性

ApplicationInfo (继承自 CommonGeneratorBase)
TemplateFolders

方法

AddRequiredFiles(RazorPageGeneratorModel)
GenerateCode(RazorPageGeneratorModel)
GetRazorPageViewGeneratorTemplateModel(RazorPageGeneratorModel)
GetRazorPageWithContextTemplateModel(RazorPageGeneratorModel, ModelTypeAndContextModel)
GetRequiredFiles(RazorPageGeneratorModel)
ValidateAndGetOutputPath(CommonCommandLineModel, String) (继承自 CommonGeneratorBase)

适用于