public RpcClient(ITopologyLoader topologyLoader, TimeoutSettings defaultTimeout, RpcClientComponentOverrides componentOverrides = null) { topology = topologyLoader.Load(); this.defaultTimeout = defaultTimeout; var componentContainer = new RpcClientComponentContainer(this, componentOverrides ?? new RpcClientComponentOverrides()); proxyContainer = componentContainer.GetIServiceProxyContainer(); }
public RpcClientComponentContainer(IRpcClient client, RpcClientComponentOverrides overrides) { this.client = client; this.overrides = overrides; }