Пример #1
0
 public void MakeHigherThan(Priority priority)
 {
     _priority = priority.Value - 1;
 }
Пример #2
0
 public int CompareTo(Priority other)
 {
     return(_priority.CompareTo(other.Value));
 }
Пример #3
0
 public void MakeLowerThan(Priority priority)
 {
     _priority = priority.Value + 1;
 }