public AddEditServerSource(MainWindow mainWindow, IServer server)
 {
     InitializeComponent();
     //busyIndicator.IsBusy = true;
     this.serverOptions = new SourceServerOptions();
     if (server == null)
     {
         this.server = new SourceServer();
     }
     else
     {
         this.server = server;
         this.server.Options.CloneObjectProps(serverOptions);
     }
     this.InitializeFields();
     this.mainWindow = mainWindow;
     DataContext     = serverOptions;
 }
Ejemplo n.º 2
0
 public SourceServer()
 {
     _logger = HldslLogManager.GetLogManager().GetCurrentClassLogger();
     Options = new SourceServerOptions();
 }