Class SetMember
Sets the value of a field or property via reflection.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public sealed class SetMember : MemberUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
SetMember()
Declaration
public SetMember()
SetMember(Member, BoltType)
Declaration
public SetMember(Member member, BoltType boltTargetType = null)
Parameters
Type | Name | Description |
---|---|---|
Member | member | |
BoltType | boltTargetType |
Properties
assign
The entry point to set the value.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Set", showLabel = false, showDocumentation = false)]
public ControlInput assign { get; }
Property Value
Type | Description |
---|---|
ControlInput |
assigned
The action to call once the value has been set.
Declaration
[DoNotSerialize]
[UnitPortDisplay("On Set", showLabel = false, showDocumentation = false)]
public ControlOutput assigned { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
chainable
Whether the target should be output to allow for chaining.
Declaration
[Serialize]
[InspectableIf("supportsChaining")]
public bool chainable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
input
Declaration
[DoNotSerialize]
[UnitPortDisplay("Value", showLabel = false, showDocumentation = false)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
output
Declaration
[DoNotSerialize]
[UnitPortDisplay("Value", showLabel = false, showDocumentation = false)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
supportsChaining
Declaration
[DoNotSerialize]
public bool supportsChaining { get; }
Property Value
Type | Description |
---|---|
Boolean |
targetOutput
The target object used when setting the value.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Target", primary = true)]
public ValueOutput targetOutput { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
IsMemberValid(Member)
Declaration
protected override bool IsMemberValid(Member member)
Parameters
Type | Name | Description |
---|---|---|
Member | member |
Returns
Type | Description |
---|---|
Boolean |