Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <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));
 }
Exemple #3
0
 /// <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;
 }