Пример #1
0
        public ChannelController(byte channelId, MessageConnectionManager?core, ConfigController?config) :
            base(core)
        {
            _channelId = channelId;
            _config    = config ?? throw new ArgumentNullException(nameof(config));

            PlaybackUpdater = new SinglePlaybackEventFeed(ConnectionManager.EventFeed, channelId);
            PlaylistUpdater = new SinglePlaylistEventFeed(ConnectionManager.EventFeed, channelId);
        }
Пример #2
0
 public ChannelControllerSet(MessageConnectionManager?core, ConfigController?config) : base(core)
 {
     _config = config ?? throw new ArgumentNullException(nameof(config));
 }