英語で読む

次の方法で共有


IUnaryNegationOperators<TSelf,TResult> インターフェイス

定義

値の単項否定を計算するためのメカニズムを定義します。

C#
public interface IUnaryNegationOperators<TSelf,TResult> where TSelf : IUnaryNegationOperators<TSelf,TResult>

型パラメーター

TSelf

このインターフェイスを実装する型。

TResult

否定 TSelfの結果を含む型。

派生

演算子

CheckedUnaryNegation(TSelf)

値のチェックされた単項否定を計算します。

UnaryNegation(TSelf)

値の単項否定を計算します。

適用対象

製品 バージョン
.NET 7, 8, 9, 10