Ejemplo n.º 1
0
 /// <summary>
 /// Allows sorting of a collection of priority objects.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(Priority other)
 {
     return(Level.CompareTo(other.Level));
 }
Ejemplo n.º 2
0
 public Priority(Priority p)
     : this(p.PriorityID, p.Level, p.Name)
 {
 }