Skip to content

Commit 494d9f5

Browse files
Fix README: Keep manual implementation examples with field syntax
Co-authored-by: jamesmontemagno <[email protected]>
1 parent 982c240 commit 494d9f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Part 2 - MVVM/README.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public void OnPropertyChanged([CallerMemberName] string name = null) =>
5353
```csharp
5454
public class BaseViewModel : INotifyPropertyChanged
5555
{
56-
public partial bool IsBusy { get; set; }
57-
public partial string Title { get; set; }
56+
bool isBusy;
57+
string title;
5858
//...
5959
}
6060
```

Part 2 - MVVM/README.zh-tw.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public void OnPropertyChanged([CallerMemberName] string name = null) =>
5353
```csharp
5454
public class BaseViewModel : INotifyPropertyChanged
5555
{
56-
public partial bool IsBusy { get; set; }
57-
public partial string Title { get; set; }
56+
bool isBusy;
57+
string title;
5858
//...
5959
}
6060
```

0 commit comments

Comments
 (0)