Skip to content

Commit 87a954d

Browse files
committed
Updates
1 parent 8202784 commit 87a954d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aspnetcore/blazor/components/cascading-values-and-parameters.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
208206
The following component is used to demonstrate how changing the value of `NotifyingDalek.Units` notifies subscribers.

0 commit comments

Comments
 (0)