Class Formula
Evaluates a mathematical or logical formula with multiple arguments.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[Obsolete("Formula unit is deprecated. Rewrite your formula string using mathematical units instead.")]
public sealed class Formula : MultiInputUnit<object>, ISerializationCallbackReceiver, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged
Properties
cacheArguments
Whether input arguments should only be fetched once and then reused.
Declaration
[Serialize]
[Inspectable(order = 2147483647)]
[InspectorExpandTooltip]
public bool cacheArguments { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
formula
A mathematical or logical expression tree.
Declaration
[Serialize]
[RenamedFrom("Formula")]
[Inspectable]
[UnitSettingDisplay]
public string formula { get; set; }
Property Value
Type | Description |
---|---|
String |
minInputCount
Declaration
public override int minInputCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Ludiq.Bolt.MultiInputUnit<System.Object>.minInputCount
result
The result of the calculation or evaluation.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueOutput result { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.MultiInputUnit<System.Object>.Definition()