示例#1
0
 public EchoClient(Func <ClientOptionsBuilder, ClientOptionsBuilder> setup = null) : base(CreateClientOptions(setup))
 {
     EchoService           = new EchoClient.EchoServiceProxy(this.CallInvoker);
     GreetingService       = new EchoClient.GreetingServiceProxy(this.CallInvoker);
     AppLifecycleService   = new EchoClient.AppLifecycleServiceProxy(this.CallInvoker);
     ContextLinkageService = new EchoClient.ContextLinkageServiceProxy(this.CallInvoker);
 }
示例#2
0
 public EchoClient(Func <ClientOptionsBuilder, ClientOptionsBuilder> setup = null) : base(CreateClientOptions(setup))
 {
     EchoService     = new EchoClient.EchoServiceProxy(this.CallInvoker);
     GreetingService = new EchoClient.GreetingServiceProxy(this.CallInvoker);
 }