public Room(string name, int id, string webSocketUri, string xmlSocketUri, string threadId) : this() { Name = name; Id = id; WebSocketUri = new Uri(webSocketUri); XmlSocketUri = new Uri(xmlSocketUri); ThreadId = threadId; CommentServerInfo = new CommentServerInfo(Name, WebSocketUri, XmlSocketUri, ThreadId); }
public NicoliveCommentClient(CommentServerInfo commentServerInfo, string userId) { WebSocketUri = commentServerInfo.WebSocketUri; RoomName = ""; RoomId = 0; _userId = userId; ThreadId = commentServerInfo.Thread; Initialize(); }