[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.StructComparison-1

Delegate StructComparison<T>

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

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

Parameters

x T

The first struct to compare.

y T

The second struct to compare.

Returns

int

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.

Type Parameters

T

The type of the structs to compare.

Constructors

StructComparison(object, IntPtr)

public StructComparison(object @object, IntPtr method)

Parameters

object object
method System.IntPtr

Methods

BeginInvoke(in T, in T, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(in T x, in T y, AsyncCallback callback, object @object)

Parameters

x T
y T
callback System.AsyncCallback
object object

Returns

System.IAsyncResult

EndInvoke(in T, in T, IAsyncResult)

public virtual int EndInvoke(in T x, in T y, IAsyncResult result)

Parameters

x T
y T
result System.IAsyncResult

Returns

int

Invoke(in T, in T)

public virtual int Invoke(in T x, in T y)

Parameters

x T
y T

Returns

int