Пример #1
0
 public bool TryGetTicket(int TicketId, out ModerationTicket Ticket)
 {
     return this._modTickets.TryGetValue(TicketId, out Ticket);
 }
Пример #2
0
 public bool TryAddTicket(ModerationTicket Ticket)
 {
     Ticket.Id = this._ticketCount++;
     return this._modTickets.TryAdd(Ticket.Id, Ticket);
 }