ControllerWithContextGenerator Sınıf

Tanım

public ref class ControllerWithContextGenerator : Microsoft::VisualStudio::Web::CodeGenerators::Mvc::Controller::ControllerGeneratorBase
public class ControllerWithContextGenerator : Microsoft.VisualStudio.Web.CodeGenerators.Mvc.Controller.ControllerGeneratorBase
type ControllerWithContextGenerator = class
    inherit ControllerGeneratorBase
Public Class ControllerWithContextGenerator
Inherits ControllerGeneratorBase
Devralma
ControllerWithContextGenerator

Oluşturucular

ControllerWithContextGenerator(IProjectContext, IApplicationInfo, IModelTypesLocator, IEntityFrameworkService, ICodeGeneratorActionsService, IServiceProvider, ILogger)

Özellikler

ApplicationInfo (Devralındığı yer: CommonGeneratorBase)
CodeGeneratorActionsService (Devralındığı yer: ControllerGeneratorBase)
EntityFrameworkService
Logger (Devralındığı yer: ControllerGeneratorBase)
ModelTypesLocator
ProjectContext (Devralındığı yer: ControllerGeneratorBase)
ServiceProvider (Devralındığı yer: ControllerGeneratorBase)
TemplateFolders (Devralındığı yer: ControllerGeneratorBase)

Yöntemler

Generate(CommandLineGeneratorModel)
GetAreaName(String, String) (Devralındığı yer: ControllerGeneratorBase)
GetDefaultControllerNamespace(String) (Devralındığı yer: ControllerGeneratorBase)
GetTemplateName(CommandLineGeneratorModel)
ValidateAndGetOutputPath(CommandLineGeneratorModel) (Devralındığı yer: ControllerGeneratorBase)
ValidateAndGetOutputPath(CommonCommandLineModel, String) (Devralındığı yer: CommonGeneratorBase)
ValidateNameSpaceName(CommandLineGeneratorModel) (Devralındığı yer: ControllerGeneratorBase)

Şunlara uygulanır