Class ValueOutput
Syntax
public sealed class ValueOutput : UnitPort<ValueInput, IUnitInputPort, ValueConnection>, IUnitValuePort, IUnitOutputPort, IUnitPort, IGraphItem
Constructors
ValueOutput(String, Type)
Declaration
public ValueOutput(string key, Type type)
Parameters
ValueOutput(String, Type, Func<Flow, Object>)
Declaration
public ValueOutput(string key, Type type, Func<Flow, object> getValue)
Parameters
Properties
invalidConnectedPorts
Declaration
public override IEnumerable<IUnitInputPort> invalidConnectedPorts { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.invalidConnectedPorts
invalidConnections
Declaration
public override IEnumerable<InvalidConnection> invalidConnections { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.invalidConnections
Implements
supportsFetch
Declaration
public bool supportsFetch { get; }
Property Value
supportsPrediction
Declaration
public bool supportsPrediction { get; }
Property Value
type
Declaration
public Type type { get; }
Property Value
Implements
validConnectedPorts
Declaration
public override IEnumerable<ValueInput> validConnectedPorts { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.validConnectedPorts
validConnections
Declaration
public override IEnumerable<ValueConnection> validConnections { get; }
Property Value
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.validConnections
Methods
Declaration
public override bool CanConnectToValid(ValueInput port)
Parameters
Returns
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.CanConnectToValid(Unity.VisualScripting.ValueInput)
CompatiblePort(IUnit)
Declaration
public override IUnitPort CompatiblePort(IUnit unit)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Returns
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.CompatiblePort(Unity.VisualScripting.IUnit)
Implements
Declaration
public override void ConnectToInvalid(IUnitInputPort port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.ConnectToInvalid(Unity.VisualScripting.IUnitInputPort)
Declaration
public override void ConnectToValid(ValueInput port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.ConnectToValid(Unity.VisualScripting.ValueInput)
Declaration
public override void DisconnectFromInvalid(IUnitInputPort port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.DisconnectFromInvalid(Unity.VisualScripting.IUnitInputPort)
Declaration
public override void DisconnectFromValid(ValueInput port)
Parameters
Overrides
Unity.VisualScripting.UnitPort<Unity.VisualScripting.ValueInput, Unity.VisualScripting.IUnitInputPort, Unity.VisualScripting.ValueConnection>.DisconnectFromValid(Unity.VisualScripting.ValueInput)
Predictable()
Declaration
public ValueOutput Predictable()
Returns
PredictableIf(Func<Flow, Boolean>)
Declaration
public ValueOutput PredictableIf(Func<Flow, bool> condition)
Parameters
Returns
Extension Methods