ISubtractionOperators<TSelf,TOther,TResult> 接口

定义

定义用于计算两个值差异的机制。

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

类型参数

TSelf

实现此接口的类型。

TOther

将从中减去 TSelf的类型。

TResult

包含从TSelf中减去的值的类型TOther

派生

运算符

CheckedSubtraction(TSelf, TOther)

减去两个值以计算其差异。

Subtraction(TSelf, TOther)

减去两个值以计算其差异。

适用于