Пример #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));
 }
Пример #2
0
 public Priority(Priority p)
     : this(p.PriorityID, p.Level, p.Name)
 {
 }