แก้ไข

แชร์ผ่าน


IBitwiseOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for performing bitwise operations over two values.

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)

Type Parameters

TSelf

The type that implements this interface.

TOther

The type that is used in the operation with TSelf.

TResult

The type that contains the result of TSelf op TOther.

Derived

Operators

BitwiseAnd(TSelf, TOther)

Computes the bitwise-and of two values.

BitwiseOr(TSelf, TOther)

Computes the bitwise-or of two values.

ExclusiveOr(TSelf, TOther)

Computes the exclusive-or of two values.

OnesComplement(TSelf)

Computes the ones-complement representation of a given value.

Applies to