void IObservable <ListenerStartedArgs> .Notify(ListenerStartedArgs eventArgs) { if (_listenerStarted != null) { _listenerStarted.Invoke(this, eventArgs); } }
void IObserver <ListenerStartedArgs> .OnNotified(object sender, ListenerStartedArgs eventArgs) { (this as IObservable <ListenerStartedArgs>).Notify(eventArgs); }
void IObserver <ListenerStartedArgs> .OnNotified(object sender, ListenerStartedArgs eventArgs) { //var message = string.Format("Ready for connection at {0}", eventArgs.LocalEndPoint); //_view.UpdateStatus(message); }