Esempio n. 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;
 }
Esempio n. 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;
 }