public WcfProxy(IProxyPeer peer) { Helpers.TryCatch(_log, () => _host = new ContextualHost(peer), ex => Helpers.ThrowNew<WcfProxyException>(ex, _log, "Failed to create proxy for '{0}'", typeof(IProxyPeer).Name)); }
public ContextualHost(IProxyPeer channel) : base(typeof(ContextualPeer)) { _channel = channel; }