Class Subtract<T>
Syntax
[UnitOrder(102)]
public abstract class Subtract<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
Properties
defaultMinuend
Declaration
[DoNotSerialize]
protected virtual T defaultMinuend { get; }
Property Value
defaultSubtrahend
Declaration
[DoNotSerialize]
protected virtual T defaultSubtrahend { get; }
Property Value
difference
The difference, that is the minuend minus the subtrahend.
Declaration
[DoNotSerialize]
[PortLabel("A − B")]
public ValueOutput difference { get; }
Property Value
minuend
The first value (minuend).
Declaration
[DoNotSerialize]
[PortLabel("A")]
public ValueInput minuend { get; }
Property Value
subtrahend
The second value (subtrahend).
Declaration
[DoNotSerialize]
[PortLabel("B")]
public ValueInput subtrahend { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(T, T)
Declaration
public abstract T Operation(T a, T b)
Parameters
Type |
Name |
Description |
T |
a |
|
T |
b |
|
Returns
Operation(Flow)
Declaration
public T Operation(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Extension Methods