public void InviteUserToChat(ShortUserData newUser, ChatRoom chatRoom) { var newList = chatRoom.members.ToList(); newList.Add(newUser); chatRoom.members = newList; Provide(xmlDataProvider.CreateXML(RequestType.InviteUserToChat, chatRoom)); }
public ShortUserDataDecoder(ShortUserData shortUserData) { _shortUserData = shortUserData; }
public ShortUserDataEventArgs(ShortUserData shortUserData) { this.shortUserData = shortUserData; }
public static string Decode(ShortUserData shortInfo, byte[] symbol) { return(new ShortUserDataDecoder(shortInfo).Decode(symbol)); }
public void CreateNewChat(User currentUser, ShortUserData friend, string ChatName) { throw new NotImplementedException(); }
protected virtual void OnShortUserInfoUpdated(ShortUserData shortUserData) { ShortUserInfoUpdated(this, new ShortUserDataEventArgs(shortUserData)); }