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