Beispiel #1
0
 public ChannelServer(PresentationBuilder <TContract> channelBuilder, IChannelListener <TChannel> listener)
 {
     _connectionBuilder = channelBuilder;
     Listener           = listener;
     Listener.Accepted += _listener_Accepted;
 }
 public ConnectionBuilder(PresentationBuilder <TContract> contractBuilder, Func <TChannel> channelFactory)
 {
     _contractBuilder = contractBuilder;
     _channelFactory  = channelFactory;
 }