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