Ejemplo 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());
Ejemplo n.º 2
0
 public T4MVCGenerator(
     IControllerRewriterService controllerRewriter,
     IControllerGeneratorService controllerGenerator,
     IStaticFileGeneratorService staticFileGenerator)
 {
     _controllerRewriter  = controllerRewriter;
     _controllerGenerator = controllerGenerator;
     _staticFileGenerator = staticFileGenerator;
 }
Ejemplo n.º 3
0
        public R4MvcGenerator(
			IControllerRewriterService controllerRewriter,
			IControllerGeneratorService controllerGenerator,
			IStaticFileGeneratorService staticFileGenerator)
        {
            _controllerRewriter = controllerRewriter;
            _controllerGenerator = controllerGenerator;
            _staticFileGenerator = staticFileGenerator;
        }
Ejemplo n.º 4
0
 public R4MvcGeneratorService(
     IControllerRewriterService controllerRewriter,
     IControllerGeneratorService controllerGenerator,
     IStaticFileGeneratorService staticFileGenerator,
     IFilePersistService filePersistService,
     Settings settings)
 {
     _controllerRewriter  = controllerRewriter;
     _controllerGenerator = controllerGenerator;
     _staticFileGenerator = staticFileGenerator;
     _filePersistService  = filePersistService;
     _settings            = settings;
 }
Ejemplo n.º 5
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;
 }
Ejemplo n.º 6
0
 public ControllerRewriterService(IFilePersistService filePersistService, IControllerGeneratorService controllerGenerator, Settings settings)
 {
     _filePersistService  = filePersistService;
     _controllerGenerator = controllerGenerator;
     _settings            = settings;
 }