예제 #1
0
 public static bool operator <=(TestStruct x, TestStruct y) =>
 RecordType <TestStruct> .Compare(x, y) <= 0;
예제 #2
0
 public int Compare(A x, A y) =>
 RecordType <A> .Compare(x, y);
예제 #3
0
 public int CompareTo(TestStruct other) =>
 RecordType <TestStruct> .Compare(this, other);
예제 #4
0
파일: Id.cs 프로젝트: Stephanvs/Mingle
 public override int CompareTo(Id other)
 => RecordType <Id> .Compare(this, other);