ExpressionChainParameters(TSender?, Expression?, Expression[], bool, bool, bool, bool) constructor¶
Defined in
Type: ExpressionChainParametersReactiveUI.Binding.Reactive
Assembly: ReactiveUI.Binding.Reactive.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471
public ExpressionChainParameters(TSender? Source, Expression? Expression, Expression[] Links, bool BeforeChange, bool SkipInitial, bool IsDistinct, bool SuppressWarnings)
Summary: How one chain of property accesses is to be observed.
Parameters
| Name | Type | Description |
|---|---|---|
Source | TSender? | The root object of the chain. |
Expression | Expression? | The full expression surfaced on the emitted change. |
Links | Expression[] | The member-access links of the chain, in order. |
BeforeChange | bool | Whether values are observed before they change. |
SkipInitial | bool | Whether the initial value is suppressed. |
IsDistinct | bool | Whether consecutive equal leaf values are suppressed. |
SuppressWarnings | bool | Whether the warning a property with no notification mechanism raises is suppressed. A binding that already knows a property cannot notify - because it chose this path deliberately - would otherwise log once per subscription for something the caller cannot act on. |
Remarks
Grouped rather than passed one by one: the set travels together through the sink and every level of the
chain, and each addition to it would otherwise widen several signatures at once.