Class Modulo<T>
Inheritance
object
Modulo<T>
Assembly: solution.dll
Syntax
[UnitOrderAttribute]
public abstract class Modulo<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Type Parameters
Properties
defaultDividend
Declaration
[DoNotSerializeAttribute]
protected virtual T defaultDividend { get; }
Property Value
defaultDivisor
Declaration
[DoNotSerializeAttribute]
protected virtual T defaultDivisor { get; }
Property Value
dividend
The dividend (or numerator).
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput dividend { get; }
Property Value
divisor
The divisor (or denominator).
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput divisor { get; }
Property Value
remainder
The remainder of the division of dividend and divison (numerator / denominator).
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput remainder { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(Flow)
Declaration
public T Operation(Flow flow)
Parameters
| Type |
Name |
Description |
| Flow |
flow |
|
Returns
Operation(T, T)
Declaration
public abstract T Operation(T divident, T divisor)
Parameters
| Type |
Name |
Description |
| T |
divident |
|
| T |
divisor |
|
Returns
Implements
IDisposable
Extension Methods