15 references to TestEnum
Microsoft.AspNetCore.Components.Web.Tests (15)
Forms\InputRadioTest.cs (15)
17
var rootComponent = new TestInputRadioHostComponent<
TestEnum
>
31
var rootComponent = new TestInputRadioHostComponent<
TestEnum
>
50
var rootComponent = new TestInputRadioHostComponent<
TestEnum
>
65
var rootComponent = new TestInputRadioHostComponent<
TestEnum
>
78
foreach (
var
selectedValue in (
TestEnum
[])Enum.GetValues(typeof(
TestEnum
)))
87
private static RenderFragment RadioButtonsWithGroup(string name, Expression<Func<
TestEnum
>> valueExpression) => (builder) =>
89
builder.OpenComponent<InputRadioGroup<
TestEnum
>>(0);
94
foreach (
var
value in (
TestEnum
[])Enum.GetValues(typeof(
TestEnum
)))
111
private static async Task<IEnumerable<TestInputRadio>> RenderAndGetTestInputComponentAsync(TestInputRadioHostComponent<
TestEnum
> rootComponent)
128
public
TestEnum
TestEnum { get; set; }
131
private class TestInputRadio : InputRadio<
TestEnum
>