public void ProcessRegistration(string[] args, bool isRegistering) { if (args.Length != 1) { throw new Exception("Invalid arguments supplied"); } _configurationFileProcessorService.Process(args[0]); _installsService.Install(args[0]); }
public ConfigurationManifest GetConfig() { return(File.Exists(CONFIG_PATH) ? _configurationFileProcessorService.Process(CONFIG_PATH) : null); }