protected ListItem CreateChannelItem(IChannel channel)
        {
            ChannelProgramListItem item = new ChannelProgramListItem(channel, null)
            {
                Command = new AsyncMethodDelegateCommand(() => SlimTvModelBase.TuneChannel(channel)),
            };

            item.AdditionalProperties["CHANNEL"] = channel;
            return(item);
        }
        private ListItem CreateProgramItem(IProgram program, IChannel channel)
        {
            ProgramProperties programProperties = new ProgramProperties();

            programProperties.SetProgram(program, channel);

            ProgramListItem item = new ProgramListItem(programProperties)
            {
                Command = new AsyncMethodDelegateCommand(() => SlimTvModelBase.TuneChannel(channel)),
            };

            item.SetLabel("ChannelName", channel.Name);
            item.AdditionalProperties["PROGRAM"] = program;
            return(item);
        }