Exemple #1
0
 public bool TryGetModerationTicket(int ticketId, out ModerationTicket ticket)
 {
     return(_moderationTickets.TryGetValue(ticketId, out ticket));
 }
Exemple #2
0
 public bool TryAddModerationTicket(ModerationTicket moderationTicket)
 {
     moderationTicket.TicketId = _moderationTicketCount++;
     return(_moderationTickets.TryAdd(moderationTicket.TicketId, moderationTicket));
 }