Beispiel #1
0
 internal void CompareTo(SequenceId sequenceId1, object obj, int expected)
 {
     if (obj is SequenceId sequenceId2)
     {
         Math.Sign(sequenceId1.CompareTo(sequenceId2)).Should().Be(expected);
     }
 }
Beispiel #2
0
 public int CompareTo(Message message)
 {
     return(SequenceId.CompareTo(message.SequenceId));
 }