private static void CloseProxy(IPublisherService proxy) { proxy.Unsubscribe(EventType.AllEvents); ((ICommunicationObject)proxy).Close(); }
private static void CloseProxy(IPublisherService proxy) { proxy.Unsubscribe(EventType.AllEvents); ((ICommunicationObject)proxy).Close(); }