예제 #1
0
 /// <summary>
 /// Un-does a vote from a specific client. If the specified client didn't vote, this method does nothing.
 /// </summary>
 /// <param name="c">The client whose vote to remove.</param>
 public void UndoVote(Client c)
 {
     Votes.RemoveAll(v => v.EqualsClient(c));
 }
예제 #2
0
 public void RemoveVotesFrom(ulong userId)
 => Votes.RemoveAll(x => x.UserId == userId);