MvcController Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
MvcController class provides basic functionality for scaffolding an MVC controller. The specific type of controller (Empty, Controller with read write actions etc, need to provide the template names to be used for scaffolding.
public ref class MvcController abstract : Microsoft::VisualStudio::Web::CodeGenerators::Mvc::Controller::ControllerGeneratorBase
public abstract class MvcController : Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerGeneratorBase
type MvcController = class
inherit ControllerGeneratorBase
Public MustInherit Class MvcController
Inherits ControllerGeneratorBase
- Inheritance
- Derived
Constructors
| MvcController(IProjectContext, IApplicationInfo, ICodeGeneratorActionsService, IServiceProvider, ILogger) |
Properties
| ApplicationInfo | (Inherited from CommonGeneratorBase) |
| CodeGeneratorActionsService | (Inherited from ControllerGeneratorBase) |
| GetRequiredNameError | |
| Logger | (Inherited from ControllerGeneratorBase) |
| ProjectContext | (Inherited from ControllerGeneratorBase) |
| ServiceProvider | (Inherited from ControllerGeneratorBase) |
| TemplateFolders | (Inherited from ControllerGeneratorBase) |
Methods
| Generate(CommandLineGeneratorModel) | |
| GetAreaName(String, String) | (Inherited from ControllerGeneratorBase) |
| GetDefaultControllerNamespace(String) | (Inherited from ControllerGeneratorBase) |
| GetTemplateName(CommandLineGeneratorModel) | (Inherited from ControllerGeneratorBase) |
| ValidateAndGetOutputPath(CommandLineGeneratorModel) | (Inherited from ControllerGeneratorBase) |
| ValidateAndGetOutputPath(CommonCommandLineModel, String) | (Inherited from CommonGeneratorBase) |
| ValidateNameSpaceName(CommandLineGeneratorModel) | (Inherited from ControllerGeneratorBase) |