net11.0
namespace Microsoft.Extensions.DependencyInjection
{
    public static class CascadingValueServiceCollectionExtensions
    {
        public static IServiceCollection! TryAddCascadingValueSupplier<TAttribute>(this IServiceCollection! serviceCollection, Func<IServiceProvider!, Func<ComponentState!, TAttribute!, CascadingParameterInfo, CascadingParameterSubscription!>!>! subscribeFactory)
            where TAttribute, CascadingParameterAttributeBase!;
    }
}
.NET
11.0
Information specific to net11.0
Assembly

Microsoft.AspNetCore.Components , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

  • Your project needs a package reference to Microsoft.AspNetCore.Components.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API