7 references to CascadingParameterState
Microsoft.AspNetCore.Components.Tests (7)
ParameterViewTest.Assignment.cs (1)
769
cascadingParameters.Add(new
CascadingParameterState
(new(null, name, value.GetType()), new TestCascadingValueProvider(value)));
ParameterViewTest.cs (6)
98
new
CascadingParameterState
(new(null, "attribute 2", attribute2Value.GetType()), new TestCascadingValue(attribute2Value)),
99
new
CascadingParameterState
(new(null, "attribute 3", attribute3Value.GetType()), new TestCascadingValue(attribute3Value)),
193
new
CascadingParameterState
(new(null, "another entry", typeof(object)), new TestCascadingValue(null))
308
new
CascadingParameterState
(new(null, "unrelated value 2", typeof(object)), new TestCascadingValue(null)),
309
new
CascadingParameterState
(new(null, "my entry", myEntryValue.GetType()), new TestCascadingValue(myEntryValue)),
310
new
CascadingParameterState
(new(null, "unrelated value 3", typeof(object)), new TestCascadingValue(null)),