Esempio n. 1
0
 public ContextualHost(IHostingPeer channel)
     : base(typeof(ContextualPeer))
 {
     _channel = channel;
 }
Esempio n. 2
0
 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));
 }