CodeTV.GraphBuilderTV.NeedToRebuildTheGraph C# (CSharp) Method

NeedToRebuildTheGraph() public method

public NeedToRebuildTheGraph ( Channel newChannel ) : bool
newChannel Channel
return bool
        public virtual bool NeedToRebuildTheGraph(Channel newChannel)
        {
            if (!(newChannel is ChannelTV) || !(this.currentChannel is ChannelTV))
                return true;

            ChannelTV channelNew = newChannel as ChannelTV;
            ChannelTV channelCurrent = this.currentChannel as ChannelTV;
            return channelCurrent.NeedToRebuildTheGraph(channelNew);
        }