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