示例#1
0
        private void PopHistory()
        {
            CurrentServiceRight = History.Pop().ServiceRight;
            PointCounterHistoryItem <TPoint> peek = History.Peek();

            (InternalPointA, InternalPointB) = peek.PointCounts;
        }
示例#2
0
 private void PushHistory(PointCounterHistoryItem <TPoint> points)
 {
     History.Push(new PointCounterHistoryItem <TPoint>(points.PointCounts, CurrentServiceRight));
     (InternalPointA, InternalPointB) = points.PointCounts;
     CurrentServiceRight = points.ServiceRight;
 }
示例#3
0
 public bool Equals(PointCounterHistoryItem <TPoint> other) => PointCounts.Equals(other.PointCounts) && ServiceRight == other.ServiceRight;