Exemplo n.º 1
0
        public virtual void AddChannel(ChannelList list, ChannelInfo channel)
        {
            if (list == null)
            {
                Warnings.AppendFormat("No list found to add channel '{0}'\r\n", channel);
                return;
            }

            string warning = list.AddChannel(channel);

            if (warning != null)
            {
                Warnings.AppendLine(warning);
            }
        }