Exemplo n.º 1
0
 /// <summary>
 /// Add a ticket to the queue
 /// </summary>
 /// <param name="s">Ticket description</param>
 /// <param name="p">Ticket priority</param>
 public void AddTicket(string s, Priority p)
 {
     lists[(int)p].AddTicket(t: new Ticket(desc: s, prio: p));
 }
Exemplo n.º 2
0
 public Ticket(string desc, Priority prio)
 {
     m_description = desc;
     m_prio = prio;
 }