CascadingValueServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for configuring cascading values on an IServiceCollection.
public static class CascadingValueServiceCollectionExtensions
type CascadingValueServiceCollectionExtensions = class
Public Module CascadingValueServiceCollectionExtensions
- Inheritance
-
CascadingValueServiceCollectionExtensions
Methods
AddCascadingValue<TValue>(IServiceCollection, Func<IServiceProvider,CascadingValueSource<TValue>>) |
Adds a cascading value to the With this overload, you can supply a CascadingValueSource<TValue> which allows you to notify about updates to the value later, causing recipients to re-render. This overload should only be used if you plan to update the value dynamically. |
AddCascadingValue<TValue>(IServiceCollection, Func<IServiceProvider,TValue>) |
Adds a cascading value to the |
AddCascadingValue<TValue>(IServiceCollection, String, Func<IServiceProvider,TValue>) |
Adds a cascading value to the |
TryAddCascadingValue<TValue>(IServiceCollection, Func<IServiceProvider,CascadingValueSource<TValue>>) |
Adds a cascading value to the With this overload, you can supply a CascadingValueSource<TValue> which allows you to notify about updates to the value later, causing recipients to re-render. This overload should only be used if you plan to update the value dynamically. |
TryAddCascadingValue<TValue>(IServiceCollection, Func<IServiceProvider,TValue>) |
Adds a cascading value to the |
TryAddCascadingValue<TValue>(IServiceCollection, String, Func<IServiceProvider,TValue>) |
Adds a cascading value to the |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for