IModulusOperators<TSelf,TOther,TResult> 인터페이스

정의

두 값의 나머지 또는 모듈러스를 계산하는 메커니즘을 정의합니다.

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)

형식 매개 변수

TSelf

이 인터페이스를 구현하는 형식입니다.

TOther

를 나눌 TSelf형식입니다.

TResult

및 의 모듈러스 또는 나머지 TSelfTOther를 포함하는 형식입니다.

파생

설명

이 형식은 % C#의 연산자를 나타내며, 나머지를 계산하는 데 자주 사용됩니다. 인터페이스를 구현하는 형식에 따라 실제 모듈로 작업과 다를 수 있습니다.

연산자

Modulus(TSelf, TOther)

두 값을 함께 나누어 모듈러스 또는 나머지를 계산합니다.

적용 대상