IAdditionOperators<TSelf,TOther,TResult> 接口

定义

定义用于计算两个值之和的机制。

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

类型参数

TSelf

实现此接口的类型。

TOther

将添加到 TSelf的类型。

TResult

包含 和 TOther之和的类型TSelf

派生

运算符

Addition(TSelf, TOther)

将两个值相加以计算其和。

CheckedAddition(TSelf, TOther)

将两个值相加以计算其和。

适用于