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