Пример #1
0
 /// <summary>
 /// Removes the specified CHN.
 /// </summary>
 /// <param name="chn">The CHN.</param>
 public void Remove(Channel chn)
 {
     if (OnChannelListChange != null)
         OnChannelListChange();
     List.Remove( chn );
 }
Пример #2
0
 private Channel GetChannel(string name)
 {
     Channel chn = channels.GetChannelByName( name );
     if ( chn == null )
     {
         chn = new Channel( protocol, name);
         channels.Add( chn );
     }
     return chn;
 }
Пример #3
0
 /// <summary>
 /// Adds the specified CHN.
 /// </summary>
 /// <param name="chn">The CHN.</param>
 public void Add(Channel chn)
 {
     if (OnChannelListChange != null)
         OnChannelListChange();
     List.Add( chn );
 }