Class InvokeMember
Invokes a method or a constructor via reflection.
Syntax
public sealed class InvokeMember : MemberUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
InvokeMember()
Declaration
InvokeMember(Member, BoltType)
Declaration
public InvokeMember(Member member, BoltType boltTargetType = null)
Parameters
Properties
chainable
Whether the target should be output to allow for chaining.
Declaration
[Serialize]
[InspectableIf("chainingInspectable")]
public bool chainable { get; set; }
Property Value
chainingInspectable
Declaration
[DoNotSerialize]
public bool chainingInspectable { get; }
Property Value
enter
The entry point to invoke the method.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Invoke", showLabel = false, showDocumentation = false)]
public ControlInput enter { get; }
Property Value
exit
The action to call once the method has been invoked.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ControlOutput exit { get; }
Property Value
Declaration
[DoNotSerialize]
public Dictionary<int, ValueInput> inputParameters { get; }
Property Value
isMethodOpenConstructed
Declaration
[DoNotSerialize]
public bool isMethodOpenConstructed { get; }
Property Value
isOpenConstructed
Declaration
[DoNotSerialize]
public override bool isOpenConstructed { get; }
Property Value
Overrides
memberMethodTypeArguments
The generic method arguments of the reflected member.
Only valid if the member is a generic method.
Declaration
public IReadOnlyList<Type> memberMethodTypeArguments { get; }
Property Value
outputParameters
Declaration
[DoNotSerialize]
public Dictionary<int, ValueOutput> outputParameters { get; }
Property Value
result
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ValueOutput result { get; }
Property Value
supportsChaining
Declaration
[DoNotSerialize]
public bool supportsChaining { get; }
Property Value
targetOutput
The target object used when setting the value.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Target", showLabel = false, verticalPrimary = true)]
public ValueOutput targetOutput { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
FetchTarget(Flow)
Declaration
protected override object FetchTarget(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Overrides
IsMemberValid(Member)
Declaration
protected override bool IsMemberValid(Member member)
Parameters
Type |
Name |
Description |
Member |
member |
|
Returns
Overrides
Extension Methods