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)

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

适用于