24 references to CreateCascadingValueComponent
Microsoft.AspNetCore.Components.Tests (24)
CascadingParameterStateTest.cs (24)
57CreateCascadingValueComponent("Hello"),
74CreateCascadingValueComponent(new ValueType2()),
95CreateCascadingValueComponent(new ValueType2()),
97CreateCascadingValueComponent(new ValueType1()),
122CreateCascadingValueComponent(new ValueType1()),
123CreateCascadingValueComponent(new ValueType3()),
148CreateCascadingValueComponent(new CascadingValueTypeDerivedClass()),
167CreateCascadingValueComponent(new CascadingValueTypeDerivedClass()),
186CreateCascadingValueComponent(new CascadingValueTypeBaseClass()),
201CreateCascadingValueComponent((CascadingValueTypeDerivedClass)null),
220CreateCascadingValueComponent((object)null),
235CreateCascadingValueComponent(new ValueType1(), "MatchOnName"),
250CreateCascadingValueComponent(new ValueType1()),
265CreateCascadingValueComponent(new ValueType1(), "MismatchName"),
280CreateCascadingValueComponent(new ValueType2(), "MatchOnName"),
295CreateCascadingValueComponent(new ValueType1(), "matchonNAME"), // To show it's case-insensitive
314CreateCascadingValueComponent(new ValueType1()),
315CreateCascadingValueComponent(new ValueType2()),
316CreateCascadingValueComponent(new ValueType1()),
317CreateCascadingValueComponent(new ValueType2()),
342CreateCascadingValueComponent(new ValueType1()),
343CreateCascadingValueComponent((ValueType1)null),
367CreateCascadingValueComponent(new ValueType1()),
382CreateCascadingValueComponent(new ValueType1()),