语言

IUnaryNegationOperators<TSelf,TResult> 接口

定义

定义计算值的一元求反的机制。

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

类型参数

TSelf

实现此接口的类型。

TResult

包含否定 TSelf结果的类型。

派生

运算符

名称 说明
CheckedUnaryNegation(TSelf)

计算值选中的一元求反。

UnaryNegation(TSelf)

计算值的一元求反。

适用于