Class Subtract<T>
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[Obsolete("Use strongly-typed Subtract units instead.")]
public abstract class Subtract<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
T |
Properties
defaultMinuend
Declaration
[DoNotSerialize]
protected virtual T defaultMinuend { get; }
Property Value
Type | Description |
---|---|
T |
defaultSubtrahend
Declaration
[DoNotSerialize]
protected virtual T defaultSubtrahend { get; }
Property Value
Type | Description |
---|---|
T |
difference
The difference, that is the minuend minus the subtrahend.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A − B", primary = true)]
public ValueOutput difference { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
minuend
The first value (minuend).
Declaration
[DoNotSerialize]
[UnitPortDisplay("A", primary = true)]
public ValueInput minuend { get; }
Property Value
Type | Description |
---|---|
ValueInput |
subtrahend
The second value (subtrahend).
Declaration
[DoNotSerialize]
[UnitPortDisplay("B", primary = true)]
public ValueInput subtrahend { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Operation(T, T)
Declaration
public abstract T Operation(T a, T b)
Parameters
Type | Name | Description |
---|---|---|
T | a | |
T | b |
Returns
Type | Description |
---|---|
T |
Operation(Flow)
Declaration
public T Operation(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
T |