Exemple #1
0
 internal void OnDeserialized(StreamingContext context)
 {
     _client = (RemoteClient)context.Context;
 }
 internal void OnDeserializedMethod(StreamingContext context)
 {
     _client = context.Context as RemoteClient;
     _client.EventNotification += _onEventNotificationMessage;
 }
Exemple #3
0
 protected virtual void DoDispose()
 {
     _client = null;
     Disposed?.Invoke(this, EventArgs.Empty);
 }
 protected virtual void DoDispose()
 {
     _client.EventNotification -= _onEventNotificationMessage;
     _client = null;
     Disposed?.Invoke(this, EventArgs.Empty);
 }