2 references to CascadingValueSource
Microsoft.AspNetCore.Components (2)
CascadingValueServiceCollectionExtensions.cs (2)
37
=> serviceCollection.AddScoped<ICascadingValueSupplier>(sp => new
CascadingValueSource
<TValue>(name, () => initialValueFactory(sp), isFixed: true));
87
sp => new
CascadingValueSource
<TValue>(name, () => valueFactory(sp), isFixed: true)));