Skip to content

Commit

Permalink
Add private setter example
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Nov 19, 2024
1 parent fb68992 commit 7b61a7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ReactiveGeneratorDemo/ViewModels/Car.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ public partial class Car : ReactiveObject
{
[Reactive]
public partial string Make { get; set; }

[Reactive]
public partial decimal Price { get; private set; }
}

0 comments on commit 7b61a7f

Please sign in to comment.