You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -416,6 +416,16 @@ partial class ItemViewModel
416
416
417
417
</details>
418
418
419
+
Waiting for the [partial properties](https://github.com/dotnet/csharplang/issues/6420) support to make it even shorter.
420
+
421
+
```csharp
422
+
publicpartialclassItemViewModel : IBindingContext
423
+
{
424
+
[WithObservableBackingField]
425
+
publicpartialstringName { get; set; }
426
+
}
427
+
```
428
+
419
429
> **Note:** The [UnityMvvmToolkit.Generator](https://github.com/LibraStack/UnityMvvmToolkit.Generator) is available exclusively for my [patrons](https://patreon.com/DimaChebanov).
0 commit comments