/// <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)); }
public Priority(Priority p) : this(p.PriorityID, p.Level, p.Name) { }