/// <summary> /// チャンネルIDを指定してチャンネルを初期化します /// </summary> /// <param name="peercast">所属するPeerCastオブジェクト</param> /// <param name="channel_id">チャンネルID</param> protected Channel(PeerCast peercast, NetworkType network, Guid channel_id) { this.PeerCast = peercast; this.Network = network; this.ChannelID = channel_id; this.contents = new ContentCollection(this); }
/// <summary> /// チャンネルIDを指定してチャンネルを初期化します /// </summary> /// <param name="peercast">所属するPeerCastオブジェクト</param> /// <param name="channel_id">チャンネルID</param> protected Channel(PeerCast peercast, NetworkType network, Guid channel_id) { this.PeerCast = peercast; this.Network = network; this.ChannelID = channel_id; this.contents = new ContentCollection(this); this.contentSinks.Add(new ChannelEventInvoker(this)); }
/// <summary> /// チャンネルIDを指定してチャンネルを初期化します /// </summary> /// <param name="peercast">所属するPeerCastオブジェクト</param> /// <param name="channel_id">チャンネルID</param> protected Channel(PeerCast peercast, NetworkType network, Guid channel_id) { this.PeerCast = peercast; this.Network = network; this.ChannelID = channel_id; this.contents = new ContentCollection(this); this.contentSinks = ImmutableArray <IContentSink> .Empty; }