IEqualityOperators<TSelf,TOther,TResult> Interfejs

Definicja

Definiuje mechanizm porównywania dwóch wartości w celu określenia równości.

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IEqualityOperators<TSelf, TOther, TResult>public interface class IEqualityOperators
public interface IEqualityOperators<TSelf,TOther,TResult> where TSelf : IEqualityOperators<TSelf,TOther,TResult>
type IEqualityOperators<'Self, 'Other, 'Result (requires 'Self :> IEqualityOperators<'Self, 'Other, 'Result>)> = interface
Public Interface 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

Operatory

Equality(TSelf, TOther)

Porównuje dwie wartości w celu określenia równości.

Inequality(TSelf, TOther)

Porównuje dwie wartości w celu określenia nierówności.

Dotyczy