Skip to content

Commit 59491ed

Browse files
committed
Merge branch 'main' into develop
2 parents 4fb9f20 + c1cb62d commit 59491ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,16 @@ partial class ItemViewModel
416416

417417
</details>
418418

419+
Waiting for the [partial properties](https://github.com/dotnet/csharplang/issues/6420) support to make it even shorter.
420+
421+
```csharp
422+
public partial class ItemViewModel : IBindingContext
423+
{
424+
[WithObservableBackingField]
425+
public partial string Name { get; set; }
426+
}
427+
```
428+
419429
> **Note:** The [UnityMvvmToolkit.Generator](https://github.com/LibraStack/UnityMvvmToolkit.Generator) is available exclusively for my [patrons](https://patreon.com/DimaChebanov).
420430
421431
### Command & Command\<T\>

0 commit comments

Comments
 (0)