We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33292d5 + 062b9dc commit 423b176Copy full SHA for 423b176
2 files changed
Documentation/Images/BlazorWasmHostedScreenShot.png
3.59 KB
Documentation/Tutorial.md
@@ -89,7 +89,7 @@ namespace Sample.Client.Features.Counter
89
public partial class CounterState : State<CounterState>
90
{
91
public int Count { get; private set; }
92
- protected override void Initialize() => Count = 3;
+ public override void Initialize() => Count = 3;
93
}
94
95
```
@@ -122,7 +122,7 @@ namespace Sample.Client
122
typeof(Startup).GetTypeInfo().Assembly,
123
124
);
125
- services.AddScoped<CounterState>();
+ services.AddTransient<CounterState>();
126
127
128
public void Configure(IComponentsApplicationBuilder app)
0 commit comments