[]
Represents the method that compares two structs of the same type.
public delegate int StructComparison<T>(in T x, in T y) where T : struct
x TThe first struct to compare.
y TThe second struct to compare.
A signed integer that indicates the relative values of x and y. Value Meaning Less than 0 x is less than y. 0 x equals y. Greater than 0 x is greater than y.
TThe type of the structs to compare.
public StructComparison(object @object, IntPtr method)
object objectmethod System.IntPtrpublic virtual IAsyncResult BeginInvoke(in T x, in T y, AsyncCallback callback, object @object)
x Ty Tcallback System.AsyncCallbackobject objectpublic virtual int EndInvoke(in T x, in T y, IAsyncResult result)
x Ty Tresult System.IAsyncResultpublic virtual int Invoke(in T x, in T y)
x Ty T