ConsoleEntryPoint(string[] argv) { List <string> arguments = PrescanArgs(argv); if (this.operation != Operations.Help) { previousConfig = new WsatConfiguration(null, this.virtualServer, null, true); previousConfig.LoadFromRegistry(); newConfig = new WsatConfiguration(null, this.virtualServer, previousConfig, true); ParseArgs(arguments); } }
void InitializeConfig() { try { previousConfig = new WsatConfiguration(machineName, virtualServer, null, false); previousConfig.LoadFromRegistry(); config = new WsatConfiguration(machineName, virtualServer, previousConfig, false); msdtc = config.GetMsdtcWrapper(); ConfigurationToUI(); } catch (WsatAdminException e) { HandleException(e); } }
ConsoleEntryPoint(string[] argv) { List<string> arguments = PrescanArgs(argv); if (this.operation != Operations.Help) { previousConfig = new WsatConfiguration(null, this.virtualServer, null, true); previousConfig.LoadFromRegistry(); newConfig = new WsatConfiguration(null, this.virtualServer, previousConfig, true); ParseArgs(arguments); } }