コード例 #1
0
 public ConnectionManager(
     IOptions <ConnectionOptions> connectionOptions,
     ConnectionFactory connectionFactory,
     NetworkingTrace trace)
 {
     this.connectionOptions = connectionOptions.Value;
     this.connectionFactory = connectionFactory;
     this.trace             = trace;
 }
コード例 #2
0
 public ConnectionCommon(
     IServiceProvider serviceProvider,
     MessageFactory messageFactory,
     MessagingTrace messagingTrace,
     NetworkingTrace networkingTrace)
 {
     this.ServiceProvider = serviceProvider;
     this.MessageFactory  = messageFactory;
     this.MessagingTrace  = messagingTrace;
     this.NetworkingTrace = networkingTrace;
 }