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