//================================================================================ public MainViewModel() { _configStore = new ConfigStore(); Log = new ObservableCollection<string>(); ListenPort = _configStore.ListenPort; TargetHostAndPort = _configStore.Target; _delayInt = _configStore.DelayMs; _isSingleConnection = _configStore.SingleConnection; Client = new SocketViewModel(); Target = new SocketViewModel(); }
//================================================================================ #endregion //================================================================================ public MainViewModel() { _configStore = new ConfigStore(); Log = new ObservableCollection <string>(); ListenPort = _configStore.ListenPort; TargetHostAndPort = _configStore.Target; _delayInt = _configStore.DelayMs; _isSingleConnection = _configStore.SingleConnection; Client = new SocketViewModel(); Target = new SocketViewModel(); }