T1 - The type of the first parameter of the
method that this function object encapsulates.T2 - The type of the second parameter of the
method that this function object encapsulates.TResult - The return type of the
method that this function object encapsulates.public interface IArithmetic<T1,T2,TResult>
| Modifier and Type | Method and Description |
|---|---|
TResult |
Add(T1 arg1,
T2 arg2)
Performs the arithmetic operation of addition on
elements that are convertible to T1, T2.
|
TResult |
Divide(T1 arg1,
T2 arg2)
Performs the arithmetic operation of division
on elements that are convertible to T1, T2.
|
TResult |
Multiply(T1 arg1,
T2 arg2)
Performs the arithmetic operation of multiplication
on elements that are convertible to T1, T2.
|
TResult |
Remainder(T1 arg1,
T2 arg2)
Performs the modular operation of calculating the
remainder after division between elements that are
convertible to T1, T2.
|
TResult |
Subtract(T1 arg1,
T2 arg2)
Performs the arithmetic operation of subtraction on
elements that are convertible to T1, T2.
|
TResult Add(T1 arg1, T2 arg2)
arg1 - The left operand to be added.arg2 - The right operand to be added.TResult Subtract(T1 arg1, T2 arg2)
arg1 - The left operand from which the right operand
is to be subtracted.arg2 - The right operand that is to be subtracted
from the left operand.TResult Multiply(T1 arg1, T2 arg2)
arg1 - The left operand to be multiplied.arg2 - The right operand to be multiplied.TResult Divide(T1 arg1, T2 arg2)
arg1 - The dividend, or the left operand to be divided by the
right operand.arg2 - The divisor, or the right operand that is to divide the
left operand.TResult Remainder(T1 arg1, T2 arg2)
arg1 - The dividend, or the left operand to be divided by the
right operand.arg2 - The divisor, or the right operand that is to divide the
left operand.Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.