Class SetMember
Sets the value of a field or property via reflection.
Syntax
public sealed class SetMember : MemberUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IIdentifiable, IAnalyticsIdentifiable, IAotStubbable
Constructors
SetMember()
Declaration
SetMember(Member)
Declaration
public SetMember(Member member)
Parameters
Type |
Name |
Description |
Member |
member |
|
Properties
assign
Declaration
[DoNotSerialize]
public ControlInput assign { get; }
Property Value
assigned
Declaration
[DoNotSerialize]
public ControlOutput assigned { get; }
Property Value
chainable
Whether the target should be output to allow for chaining.
Declaration
[Serialize]
[InspectableIf("supportsChaining")]
public bool chainable { get; set; }
Property Value
Declaration
[DoNotSerialize]
[PortLabel("Value")]
public ValueInput input { get; }
Property Value
output
Declaration
[DoNotSerialize]
[PortLabel("Value")]
public ValueOutput output { get; }
Property Value
setter
Declaration
[DoNotSerialize]
[MemberFilter(Fields = true, Properties = true, ReadOnly = false)]
public Member setter { get; set; }
Property Value
supportsChaining
Declaration
[DoNotSerialize]
public bool supportsChaining { get; }
Property Value
targetOutput
The target object used when setting the value.
Declaration
[DoNotSerialize]
[PortLabel("Target")]
public ValueOutput targetOutput { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
GetAnalyticsIdentifier()
Declaration
public override AnalyticsIdentifier GetAnalyticsIdentifier()
Returns
Overrides
IsMemberValid(Member)
Declaration
protected override bool IsMemberValid(Member member)
Parameters
Type |
Name |
Description |
Member |
member |
|
Returns
Overrides
Extension Methods