IAdditionOperators<TSelf,TOther,TResult> Interfejs

Definicja

Definiuje mechanizm obliczania sumy dwóch wartości.

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)

Parametry typu

TSelf

Typ, który implementuje ten interfejs.

TOther

Typ, który zostanie dodany do elementu TSelf.

TResult

Typ zawierający sumę TSelf wartości i TOther.

Pochodne

Operatory

Addition(TSelf, TOther)

Dodaje dwie wartości w celu obliczenia ich sumy.

CheckedAddition(TSelf, TOther)

Dodaje dwie wartości w celu obliczenia ich sumy.

Dotyczy