IModulusOperators<TSelf,TOther,TResult> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za