Пример #1
0
 private static void CloseProxy(IPublisherService proxy)
 {
     proxy.Unsubscribe(EventType.AllEvents);
     ((ICommunicationObject)proxy).Close();
 }