示例#1
0
        private void OnUserJoined(UserInfoModel infoModel)
        {
            var userModel = new UserModel(infoModel.UserName, infoModel.Image);

            DispatcherHelper.CheckBeginInvokeOnUI(() => UserModels.Add(userModel));
        }