18 references to ValueSupplier
Microsoft.AspNetCore.Components (3)
ParameterView.cs (1)
440var currentValue = state.ValueSupplier.GetCurrentValue(state.Key, state.ParameterInfo);
Rendering\ComponentState.cs (2)
274var valueSupplier = _cascadingParameters[i].ValueSupplier; 290var supplier = _cascadingParameters[i].ValueSupplier;
Microsoft.AspNetCore.Components.Tests (13)
CascadingParameterStateTest.cs (13)
85Assert.Same(states[1].Component, match.ValueSupplier); 108Assert.Same(states[3].Component, match.ValueSupplier); 113Assert.Same(states[1].Component, match.ValueSupplier); 134Assert.Same(states[0].Component, match.ValueSupplier); 139Assert.Same(states[1].Component, match.ValueSupplier); 158Assert.Same(states[0].Component, match.ValueSupplier); 177Assert.Same(states[0].Component, match.ValueSupplier); 211Assert.Same(states[0].Component, match.ValueSupplier); 305Assert.Same(states[0].Component, match.ValueSupplier); 328Assert.Same(states[2].Component, match.ValueSupplier); 333Assert.Same(states[3].Component, match.ValueSupplier); 354Assert.Same(states[1].Component, match.ValueSupplier); 355Assert.Null(match.ValueSupplier.GetCurrentValue(null, match.ParameterInfo));
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\Mapping\SupplyParameterFromFormTest.cs (2)
28Assert.IsType<SupplyParameterFromFormValueProvider>(supplier.ValueSupplier); 58Assert.Equal(formMappingScope, supplier.ValueSupplier);