Muokkaa

Jaa


IModulusOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for computing the modulus or remainder of two values.

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

Type Parameters

TSelf

The type that implements this interface.

TOther

The type that will divide TSelf.

TResult

The type that contains the modulus or remainder of TSelf and TOther.

Derived

Remarks

This type represents the % operator in C#, which is often used to compute the remainder. It may differ from an actual modulo operation depending on the type that implements the interface.

Operators

Modulus(TSelf, TOther)

Divides two values together to compute their modulus or remainder.

Applies to