5 references to CascadingValueSource
Microsoft.AspNetCore.Components (3)
CascadingValueServiceCollectionExtensions.cs (2)
24
=> serviceCollection.AddScoped<ICascadingValueSupplier>(sp => new
CascadingValueSource
<TValue>(() => initialValueFactory(sp), isFixed: true));
69
sp => new
CascadingValueSource
<TValue>(() => valueFactory(sp), isFixed: true)));
CascadingValueSource.cs (1)
65
public CascadingValueSource(string name, Func<TValue> initialValueFactory, bool isFixed) :
this
(initialValueFactory, isFixed)
Microsoft.AspNetCore.Components.Authorization (1)
CascadingAuthenticationStateServiceCollectionExtensions.cs (1)
37
:
base
(authenticationStateProvider.GetAuthenticationStateAsync, isFixed: false)
Microsoft.AspNetCore.Components.Tests (1)
CascadingParameterTest.cs (1)
697
var cascadingValueSource = new
CascadingValueSource
<MyParamType>(