Пример #1
0
 public ApplicationController(ConfigStoreContext context,
                              ConfigClient client,
                              DefaultDataInitializer defaultDataInitializer,
                              RenameModelActionHandler <Application> renameModelActionHandler,
                              CanAddModelActionHandler <Application> canAddModelActionHandler)
 {
     _context = context;
     _client  = client;
     _defaultDataInitializer   = defaultDataInitializer;
     _renameModelActionHandler = renameModelActionHandler;
     _canAddModelActionHandler = canAddModelActionHandler;
 }
Пример #2
0
 public EnvironmentController(ConfigStoreContext context,
                              ConfigClient client,
                              DefaultDataInitializer defaultDataInitializer,
                              RenameModelActionHandler <ServiceEnvironment> renameModelActionHandler,
                              CanAddModelActionHandler <ServiceEnvironment> canAddModelActionHandler)
 {
     _context = context;
     _client  = client;
     _defaultDataInitializer   = defaultDataInitializer;
     _renameModelActionHandler = renameModelActionHandler;
     _canAddModelActionHandler = canAddModelActionHandler;
 }