Exemplo n.º 1
0
 public Bus(
     IChannelManager channels,
     IChannelIndex channelIndex,
     ISubscriptionManager subscriptions)
 {
     Channels      = channels;
     ChannelIndex  = channelIndex;
     Subscriptions = subscriptions;
 }
Exemplo n.º 2
0
 public ChannelManager( IChannelIndex channelIndex )
 {
     Index = channelIndex;
     Channels = new ConcurrentDictionary<string, IChannel>();
     ChannelFactories = new ConcurrentDictionary<Type, IChannelFactory>();
 }
Exemplo n.º 3
0
 public ChannelManager(IChannelIndex channelIndex)
 {
     Index            = channelIndex;
     Channels         = new ConcurrentDictionary <string, IChannel>();
     ChannelFactories = new ConcurrentDictionary <Type, IChannelFactory>();
 }