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));
 }
Exemplo n.º 3
0
 protected bool Equals(UserAndChannel other)
 {
     return(UserId == other.UserId && ChannelId == other.ChannelId);
 }