public ProxyBuilder(IProxyCaller caller) { if (caller == null) { throw new ArgumentNullException("caller"); } _caller = caller; _messageConverters = new List <IMessageConverter>(); _proxyfilters = new List <IProxyFilter>(); // Add default self converter AddMessageConverter(new SelfMessageConverter()); }
public Proxy(IEnumerable <IMessageConverter> messageConverters, IEnumerable <IProxyFilter> filters, IProxyCaller caller) { _messageConverters = messageConverters; _filters = filters; _caller = caller; }