public ChannelConfiguration EnsureChannel(Type channelType)
        {
            if (!channels.TryGetValue(channelType, out var channelConfiguration))
            {
                channelConfiguration = new ChannelConfiguration();
                channels.Add(channelType, channelConfiguration);
            }

            return(channelConfiguration);
        }
Пример #2
0
 internal ChannelBuilder(ChannelConfiguration configuration)
 {
     this.configuration = configuration;
 }