public void RememberUserGroups(UserAndChannel userAndChannel, IList <UserGroup> userGroups)
 {
     rememberedUserGroups[userAndChannel] = userGroups;
 }
 public bool TryRetrieveSameUserGroups(UserAndChannel userAndChannel, out IList <UserGroup> userGroups)
 {
     return(rememberedUserGroups.TryGetValue(userAndChannel, out userGroups));
 }
Пример #3
0
 protected bool Equals(UserAndChannel other)
 {
     return(UserId == other.UserId && ChannelId == other.ChannelId);
 }