Class UnaryOperatorUnit
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public class UnaryOperatorUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
UnaryOperatorUnit()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.", true)]
public UnaryOperatorUnit()
UnaryOperatorUnit(UnaryOperator, HybridType)
Declaration
public UnaryOperatorUnit(UnaryOperator operator, HybridType type)
Parameters
Type | Name | Description |
---|---|---|
UnaryOperator | operator | |
HybridType | type |
Properties
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
handler
Declaration
[DoNotSerialize]
public UnaryOperatorHandler handler { get; }
Property Value
Type | Description |
---|---|
UnaryOperatorHandler |
input
The input.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A", showLabel = false, primary = true)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
operator
Declaration
[DoNotSerialize]
public UnaryOperator operator { get; set; }
Property Value
Type | Description |
---|---|
UnaryOperator |
output
The result of applying the operator to the input.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A'", showLabel = false, primary = true)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
type
Declaration
[DoNotSerialize]
public HybridType type { get; set; }
Property Value
Type | Description |
---|---|
HybridType |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Result(Flow)
Declaration
public object Result(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Object |