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