private RemoveCareMeUser ( |
||
user | ||
return | void |
public void RemoveCareList(EntityInfo info) { User leave_user = info.CustomData as User; if (leave_user == null) { return; } IList <EntityInfo> users = new List <EntityInfo>(); foreach (EntityInfo user_info in users) { if (user_info.GetId() == info.GetId()) { continue; } User user = user_info.CustomData as User; if (null == user) { continue; } user.RemoveCareMeUser(leave_user); leave_user.RemoveCareMeUser(user); } }