Beispiel #1
0
 public ChatRoom(ChatServerImpl server)
 {
     _server = server;
     _users  = new ObservableCollection <IChatUser>();
     Users   = new ReadOnlyObservableCollection <IChatUser>(_users);
     RoomId  = Guid.NewGuid().ToString("N");
 }
Beispiel #2
0
 public ChatRoom(ChatServerImpl server)
 {
     _server = server;
     _users = new ObservableCollection<IChatUser>();
     Users = new ReadOnlyObservableCollection<IChatUser>(_users);
     RoomId = Guid.NewGuid().ToString("N");
 }
Beispiel #3
0
 public ChatUser(string userId, String userName, String group, ChatServerImpl server)
 {
     UserId   = userId;
     Username = userName;
     Group    = group;
     Status   = ChatUserStatus.Offline;
     _server  = server;
 }
Beispiel #4
0
 public ChatUser(string userId, String userName, String group, ChatServerImpl server)
 {
     UserId = userId;
     Username = userName;
     Group = group;
     Status = ChatUserStatus.Offline;
     _server = server;
 }
Beispiel #5
0
 public ChatContactListProvider(ChatServerImpl server)
 {
     _server = server;
 }
 public ChatContactListProvider(ChatServerImpl server)
 {
     _server = server;
 }