File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
aspnetcore/blazor/components Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,6 @@ public static class CascadingApplicationStateServiceCollectionExtensions
180180 _ = NotifyChangedAsync ();
181181 }
182182
183- public CascadingValueSource <T > Source => source ;
184-
185183 public void Dispose ()
186184 {
187185 value .PropertyChanged -= HandlePropertyChanged ;
@@ -202,7 +200,7 @@ builder.Services.AddCascadingApplicationState<NotifyingDalek>(
202200> [ !NOTE]
203201> &dagger ; For Blazor Web App solutions consisting of server and client (` .Client ` ) projects:
204202>
205- > * The preceding ` NotifyingDalek.cs ` and ` CascadingValueSourceFactory .cs` files are placed in the ` .Client ` project.
203+ > * The preceding ` NotifyingDalek.cs ` and ` CascadingValueServiceCollectionExtensions .cs` files are placed in the ` .Client ` project.
206204> * The preceding code is placed into the ` Program ` file of * both* projects.
207205
208206The following component is used to demonstrate how changing the value of ` NotifyingDalek.Units ` notifies subscribers.
You can’t perform that action at this time.
0 commit comments