Пример #1
0
 public DashboardReport(IOptions <ModelsBuilderSettings> config, OutOfDateModelsStatus outOfDateModels,
                        ModelsGenerationError mbErrors)
 {
     _config          = config.Value;
     _outOfDateModels = outOfDateModels;
     _mbErrors        = mbErrors;
 }
Пример #2
0
 public ModelsGenerator(UmbracoServices umbracoService, IOptions <ModelsBuilderSettings> config, OutOfDateModelsStatus outOfDateModels, IHostingEnvironment hostingEnvironment)
 {
     _umbracoService     = umbracoService;
     _config             = config.Value;
     _outOfDateModels    = outOfDateModels;
     _hostingEnvironment = hostingEnvironment;
 }
Пример #3
0
 public ModelsGenerator(UmbracoServices umbracoService, IOptionsMonitor <ModelsBuilderSettings> config, OutOfDateModelsStatus outOfDateModels, IHostingEnvironment hostingEnvironment)
 {
     _umbracoService              = umbracoService;
     _config                      = config.CurrentValue;
     _outOfDateModels             = outOfDateModels;
     _hostingEnvironment          = hostingEnvironment;
     config.OnChange(x => _config = x);
 }
Пример #4
0
 public ModelsBuilderDashboardController(IOptions <ModelsBuilderSettings> config, ModelsGenerator modelsGenerator, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
 {
     _config          = config.Value;
     _modelGenerator  = modelsGenerator;
     _outOfDateModels = outOfDateModels;
     _mbErrors        = mbErrors;
     _dashboardReport = new DashboardReport(config, outOfDateModels, mbErrors);
 }
Пример #5
0
 public ModelsBuilderDashboardController(IModelsBuilderConfig config, ModelsGenerator modelsGenerator, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
 {
     //_umbracoServices = umbracoServices;
     _config          = config;
     _modelGenerator  = modelsGenerator;
     _outOfDateModels = outOfDateModels;
     _mbErrors        = mbErrors;
     _dashboardReport = new DashboardReport(config, outOfDateModels, mbErrors);
 }
Пример #6
0
 public ModelsGenerator(UmbracoServices umbracoService, IModelsBuilderConfig config, OutOfDateModelsStatus outOfDateModels)
 {
     _umbracoService  = umbracoService;
     _config          = config;
     _outOfDateModels = outOfDateModels;
 }
Пример #7
0
 public DashboardReport(IModelsBuilderConfig config, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
 {
     _config          = config;
     _outOfDateModels = outOfDateModels;
     _mbErrors        = mbErrors;
 }
 public ModelsBuilderComponent(IModelsBuilderConfig config, LiveModelsProvider liveModelsProvider, OutOfDateModelsStatus outOfDateModels)
 {
     _config             = config;
     _liveModelsProvider = liveModelsProvider;
     _outOfDateModels    = outOfDateModels;
 }