Class ChannelList
Inheritance
System.Object
System.Collections.Generic.List<
Channel>
ChannelList
Syntax
public class ChannelList : List<Channel>, IList<Channel>, ICollection<Channel>, IList, ICollection, IReadOnlyList<Channel>, IReadOnlyCollection<Channel>, IEnumerable<Channel>, IEnumerable
Constructors
ChannelList()
Declaration
Methods
ContainsId(Int32)
Declaration
public bool ContainsId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.Boolean |
|
GetId(Int32)
Declaration
public Channel GetId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
ToIdArray()
Returns channels with nonnegative IDs as an array, so that accessing
a channel by Id can be optimized into pointer arithmetic rather than
being implemented as a List scan.
Declaration
public Channel[] ToIdArray()
Returns