Esempio n. 1
0
 private R4MvcGeneratorService GetGeneratorService(
     IControllerRewriterService controllerRewriter   = null,
     IControllerGeneratorService controllerGenerator = null,
     IStaticFileGeneratorService staticFileGenerator = null,
     IFilePersistService filePersistService          = null,
     Settings settings = null)
 => new R4MvcGeneratorService(controllerRewriter, controllerGenerator, staticFileGenerator, filePersistService ?? DummyPersistService, settings ?? new Settings());
Esempio n. 2
0
 public GenerateCommand(IControllerRewriterService controllerRewriter, IEnumerable <IViewLocator> viewLocators, R4MvcGeneratorService generatorService, Settings settings)
 {
     _controllerRewriter = controllerRewriter;
     _viewLocators       = viewLocators;
     _generatorService   = generatorService;
     _settings           = settings;
 }
 public T4MVCGenerator(
     IControllerRewriterService controllerRewriter,
     IControllerGeneratorService controllerGenerator,
     IStaticFileGeneratorService staticFileGenerator)
 {
     _controllerRewriter  = controllerRewriter;
     _controllerGenerator = controllerGenerator;
     _staticFileGenerator = staticFileGenerator;
 }
Esempio n. 4
0
        public R4MvcGenerator(
			IControllerRewriterService controllerRewriter,
			IControllerGeneratorService controllerGenerator,
			IStaticFileGeneratorService staticFileGenerator)
        {
            _controllerRewriter = controllerRewriter;
            _controllerGenerator = controllerGenerator;
            _staticFileGenerator = staticFileGenerator;
        }
Esempio n. 5
0
 public R4MvcGeneratorService(
     IControllerRewriterService controllerRewriter,
     IControllerGeneratorService controllerGenerator,
     IStaticFileGeneratorService staticFileGenerator,
     IFilePersistService filePersistService,
     Settings settings)
 {
     _controllerRewriter  = controllerRewriter;
     _controllerGenerator = controllerGenerator;
     _staticFileGenerator = staticFileGenerator;
     _filePersistService  = filePersistService;
     _settings            = settings;
 }
Esempio n. 6
0
 public R4MvcGenerator(
     IControllerRewriterService controllerRewriter,
     IControllerGeneratorService controllerGenerator,
     IStaticFileGeneratorService staticFileGenerator,
     IFilePersistService filePersistService,
     IViewLocatorService viewLocator,
     IOptions <Settings> settings)
 {
     _controllerRewriter  = controllerRewriter;
     _controllerGenerator = controllerGenerator;
     _staticFileGenerator = staticFileGenerator;
     _filePersistService  = filePersistService;
     _viewLocator         = viewLocator;
     _settings            = settings.Value;
 }