示例#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));
 }