Esempio n. 1
0
 public PipeClientRuntime(IServiceProvider serviceProvider)
 {
     this.serializer    = serviceProvider.GetRequiredService <MessageSerializer>();
     this.bindingOption = serviceProvider.GetRequiredService <BasicPipeBindingOptions>();
 }
Esempio n. 2
0
 public PipeConnectionListener(IServiceProvider serviceProvider)
 {
     this.serializer     = serviceProvider.GetRequiredService <MessageSerializer>();
     this.dispatcher     = serviceProvider.GetRequiredService <MessageDispatcher>();
     this.bindingOptions = serviceProvider.GetRequiredService <BasicPipeBindingOptions>();
 }