Skip to content

Commit bb838c6

Browse files
jamesmcroftSergio0694
authored andcommitted
Updated wording for SetProperty broadcast parameter
1 parent 191acbf commit bb838c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mvvm/MigratingFromMvvmLight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ this.Set(nameof(this.MyProperty), ref this.myProperty, value, true);
177177
this.SetProperty(ref this.myProperty, value, true, nameof(this.MyProperty));
178178
```
179179

180-
Note, the value and broadcast boolean parameters are not optional in the Toolkit's implementation and must be provided to use this method.
180+
Note, the value and broadcast boolean parameters are not optional in the Toolkit's implementation and must be provided to use this method. The reason for this change is that by omitting the broadcast parameter when calling this method, it will by default call the ObservableObject's `SetProperty` method.
181181

182182
Also, string parameter is not required if the method is being called from the property's setter as it is inferred from the caller member name.
183183

0 commit comments

Comments
 (0)