IComparisonOperators<TSelf,TOther,TResult> Interfejs

Definicja

Definiuje mechanizm porównywania dwóch wartości w celu określenia kolejności względnej.

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IComparisonOperators<TSelf, TOther, TResult>public interface class IComparisonOperators : System::Numerics::IEqualityOperators<TSelf, TOther, TResult>
public interface IComparisonOperators<TSelf,TOther,TResult> : System.Numerics.IEqualityOperators<TSelf,TOther,TResult> where TSelf : IComparisonOperators<TSelf,TOther,TResult>
type IComparisonOperators<'Self, 'Other, 'Result (requires 'Self :> IComparisonOperators<'Self, 'Other, 'Result>)> = interface
    interface IEqualityOperators<'Self, 'Other, 'Result (requires 'Self :> IComparisonOperators<'Self, 'Other, 'Result>)>
Public Interface IComparisonOperators(Of TSelf, TOther, TResult)
Implements IEqualityOperators(Of TSelf, TOther, TResult)

Parametry typu

TSelf

Typ, który implementuje ten interfejs.

TOther

Typ, który zostanie porównany z TSelf.

TResult

Typ zwracany w wyniku porównania.

Pochodne
Implementuje

Operatory

GreaterThan(TSelf, TOther)

Porównuje dwie wartości, aby określić, które wartości są większe.

GreaterThanOrEqual(TSelf, TOther)

Porównuje dwie wartości, aby określić, które wartości są większe lub równe.

LessThan(TSelf, TOther)

Porównuje dwie wartości, aby określić, które wartości są mniejsze.

LessThanOrEqual(TSelf, TOther)

Porównuje dwie wartości, aby określić, które wartości są mniejsze lub równe.

Dotyczy