Beispiel #1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 public CommentRoom(CommentClient client, CommentRoomInfo roomInfo,
                    int index)
 {
     this.commentClient = client;
     this.roomInfo      = roomInfo;
     this.index         = index;
 }
Beispiel #2
0
 /// <summary>
 /// 指定のポートを持つコメント部屋のインデックスを取得します。
 /// </summary>
 private int FindRoomIndex(int port, CommentRoomInfo[] roomList)
 {
     return Array.FindIndex(roomList, room => (room.Port == port));
 }
Beispiel #3
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 public CommentRoom(CommentClient client, CommentRoomInfo roomInfo,
                    int index)
 {
     this.commentClient = client;
     this.roomInfo = roomInfo;
     this.index = index;
 }