Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1cb62d

Browse files
Update readme file.
1 parent c9d5bdf commit c1cb62d

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)

AltStyle によって変換されたページ (->オリジナル) /