IBitwiseOperators<TSelf,TOther,TResult> Interfejs

Definicja

Definiuje mechanizm wykonywania operacji bitowych na dwóch wartościach.

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IBitwiseOperators<TSelf, TOther, TResult>public interface class IBitwiseOperators
public interface IBitwiseOperators<TSelf,TOther,TResult> where TSelf : IBitwiseOperators<TSelf,TOther,TResult>
type IBitwiseOperators<'Self, 'Other, 'Result (requires 'Self :> IBitwiseOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IBitwiseOperators(Of TSelf, TOther, TResult)

Parametry typu

TSelf

Typ, który implementuje ten interfejs.

TOther

Typ, który jest używany w operacji z TSelf.

TResult

Typ, który zawiera wynik TSelf operacji TOther.

Pochodne

Operatory

BitwiseAnd(TSelf, TOther)

Oblicza bitowe i dwie wartości.

BitwiseOr(TSelf, TOther)

Oblicza bitowe lub dwie wartości.

ExclusiveOr(TSelf, TOther)

Oblicza wyłącznie lub dwie wartości.

OnesComplement(TSelf)

Oblicza reprezentację danej wartości jako uzupełnienie jedynek.

Dotyczy