23 references to MyParamType
Microsoft.AspNetCore.Components.Tests (23)
CascadingParameterTest.cs (23)
461var component = new CascadingParameterConsumerComponent<MyParamType> { RegularParameter = "Goodbye" }; 481var anotherConsumer = new CascadingParameterConsumerComponent<MyParamType> { RegularParameter = "Goodbye" }; 525builder.OpenComponent<CascadingValue<MyParamType>>(0); 529childBuilder.OpenComponent<CascadingParameterConsumerComponent<MyParamType>>(0); 540var nestedComponent = FindComponent<CascadingParameterConsumerComponent<MyParamType>>(batch, out var nestedComponentId); 560var cascadingValueSource = new CascadingValueSource<MyParamType>(new MyParamType("Initial value"), isFixed: false); 563var component = new CascadingParameterConsumerComponent<MyParamType>(); 575var myParamValue = new MyParamType("Initial value"); 576var cascadingValueSource = new CascadingValueSource<MyParamType>(myParamValue, isFixed: false); 579var component = new CascadingParameterConsumerComponent<MyParamType> { RegularParameter = "Goodbye" }; 642var paramValue = new MyParamType("Initial value"); 643var cascadingValueSource = new CascadingValueSource<MyParamType>(paramValue, isFixed: false); 697var cascadingValueSource = new CascadingValueSource<MyParamType>( 701var component = new CascadingParameterConsumerComponent<MyParamType> { RegularParameter = "Goodbye" }; 704var updatedValue = new MyParamType("Updated value"); 833[InlineData(CascadingValueSource<MyParamType>.ComponentStateBuffer.Capacity - 1)] 834[InlineData(CascadingValueSource<MyParamType>.ComponentStateBuffer.Capacity)] 835[InlineData(CascadingValueSource<MyParamType>.ComponentStateBuffer.Capacity + 1)] 836[InlineData(CascadingValueSource<MyParamType>.ComponentStateBuffer.Capacity * 2)] 841var paramValue = new MyParamType("Initial value"); 842var cascadingValueSource = new CascadingValueSource<MyParamType>(paramValue, isFixed: false); 961[CascadingParameter] MyParamType CascadingParameter { get; set; } 981[CascadingParameter] MyParamType CascadingParameter { get; set; }