Esempio n. 1
0
 public ServerStoppedViewModel(ISServerModel model)
 {
     CommandStartServer = ReactiveCommand.Create(ExecStartServer);
     this.model         = model;
     BottomButtonText   = "Back";
     OnPortTextChanged(_portEntryText);
 }
 public ServerRunningViewModel(ISServerModel model)
 {
     this.model                 = model;
     model.ClientConnected     += Model_ClientConnected;
     model.ClientDisconnected  += Model_ClientDisconnected;
     model.InputClientSwitched += Model_InputClientSwitched;
     model.ServerStarted       += Model_ServerStarted;
     CommandClientHotkey        = ReactiveCommand.Create(ExecClientHotkey);
 }