Skip to content

Commit 0e39c0d

Browse files
committed
remove redundant private in property.
1 parent 67c00c1 commit 0e39c0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SimpleViewModel/SimpleViewModel.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageId>SimpleViewModel</PackageId>
12-
<Version>0.9.5.1</Version>
12+
<Version>0.9.5.2</Version>
1313
<Authors>Derek Gooding</Authors>
1414
<Company>Derek Gooding</Company>
1515
<Description>

ViewModelGenerator/ViewModelGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public partial class {className} : BaseViewModel
7575
{
7676
var commandClassName = $"Command_{method.Name}";
7777
var commandFieldName = $"{ToPascal(method.Name)}Command";
78-
viewModelBuilder.AppendLine($" private {commandClassName} _{commandFieldName} {{ get; private set; }}");
78+
viewModelBuilder.AppendLine($" private {commandClassName} _{commandFieldName} {{ get; set; }}");
7979
viewModelBuilder.AppendLine($" public {commandClassName} {commandFieldName} => _{commandFieldName} ??= new(this);");
8080

8181
// Generate command class per method

0 commit comments

Comments
 (0)