public AddEditServerHltv(MainWindow mainWindow, IServer server)
 {
     InitializeComponent();
     //busyIndicator.IsBusy = true;
     this.serverOptions = new ValveHltvServerOptions();
     if (server == null)
     {
         this.server = new ValveHltvServer();
     }
     else
     {
         this.server = server;
         this.server.Options.CloneObjectProps(serverOptions);
     }
     this.InitializeFields();
     this.mainWindow = mainWindow;
     DataContext     = serverOptions;
 }
 public ValveHltvServer()
 {
     _logger      = HldslLogManager.GetLogManager().GetCurrentClassLogger();
     ServerStatus = new ValveHltvServerStatus();
     Options      = new ValveHltvServerOptions();
 }