void IObservable <ListenerStartedArgs> .Notify(ListenerStartedArgs eventArgs) { if (ReadyForConnection != null) { ReadyForConnection.Invoke(this, eventArgs); } }
void IObserver <ListenerStartedArgs> .OnNotified(object sender, ListenerStartedArgs eventArgs) { LocalEndPoint = eventArgs.LocalEndPoint; if (ReadyForConnection != null) { ReadyForConnection.Invoke(this, eventArgs); } }