private bool CreateConfigurationFile() { // set the configuration file here for the service IStorageService service = ServiceHelper.GetCurrentStorageService(ServiceProvider); service.ConfigurationFile = ServiceHelper.GetCurrentRootNode(ServiceProvider).ConfigurationFile; ConfigurationFileStorageCreationCommand cmd = new ConfigurationFileStorageCreationCommand(service.ConfigurationFile, ServiceProvider); cmd.Execute(); if (cmd.CreationCancled) { return(false); } return(true); }
private bool CreateConfigurationFile() { // set the configuration file here for the service IStorageService service = ServiceHelper.GetCurrentStorageService(ServiceProvider); service.ConfigurationFile = ServiceHelper.GetCurrentRootNode(ServiceProvider).ConfigurationFile; ConfigurationFileStorageCreationCommand cmd = new ConfigurationFileStorageCreationCommand(service.ConfigurationFile, ServiceProvider); cmd.Execute(); if (cmd.CreationCancled) { return false; } return true; }