38 instantiations of TestInputHostComponent
Microsoft.AspNetCore.Components.Web.Tests (38)
Forms\InputBaseTest.cs (21)
16
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>> { EditContext = new EditContext(model), ValueExpression = () => model.StringProperty };
30
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>> { EditContext = new EditContext(model) };
42
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
61
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
80
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
99
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
121
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
138
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
161
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
183
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
204
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
238
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
263
var rootComponent = new
TestInputHostComponent
<DateTime, TestDateInputComponent>
281
var rootComponent = new
TestInputHostComponent
<DateTime, TestDateInputComponent>
311
var rootComponent = new
TestInputHostComponent
<DateTime, TestDateInputComponent>
345
var rootComponent = new
TestInputHostComponent
<DateTime, TestDateInputComponent>
369
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
405
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
433
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
466
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
498
var rootComponent = new
TestInputHostComponent
<string, TestInputComponent<string>>
Forms\InputDateTest.cs (2)
13
var rootComponent = new
TestInputHostComponent
<DateTime, TestInputDateComponent>
39
var rootComponent = new
TestInputHostComponent
<DateTime, TestInputDateComponent>
Forms\InputNumberTest.cs (3)
28
var rootComponent = new
TestInputHostComponent
<int, TestInputNumberComponent>
54
var rootComponent = new
TestInputHostComponent
<int, TestInputNumberComponent>
72
var hostComponent = new
TestInputHostComponent
<int, TestInputNumberComponent>
Forms\InputSelectTest.cs (10)
13
var rootComponent = new
TestInputHostComponent
<TestEnum, TestInputSelect<TestEnum>>
32
var rootComponent = new
TestInputHostComponent
<TestEnum, TestInputSelect<TestEnum>>
51
var rootComponent = new
TestInputHostComponent
<TestEnum?, TestInputSelect<TestEnum?>>
70
var rootComponent = new
TestInputHostComponent
<TestEnum?, TestInputSelect<TestEnum?>>
90
var rootComponent = new
TestInputHostComponent
<Guid, TestInputSelect<Guid>>
111
var rootComponent = new
TestInputHostComponent
<Guid?, TestInputSelect<Guid?>>
132
var rootComponent = new
TestInputHostComponent
<int, TestInputSelect<int>>
152
var rootComponent = new
TestInputHostComponent
<int?, TestInputSelect<int?>>
171
var rootComponent = new
TestInputHostComponent
<int, TestInputSelect<int>>
197
var rootComponent = new
TestInputHostComponent
<int, TestInputSelect<int>>
Forms\InputTextAreaTest.cs (1)
13
var rootComponent = new
TestInputHostComponent
<string, InputTextArea>
Forms\InputTextTest.cs (1)
13
var rootComponent = new
TestInputHostComponent
<string, InputText>
40 references to TestInputHostComponent
Microsoft.AspNetCore.Components.Web.Tests (40)
Forms\InputBaseTest.cs (21)
16
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>> { EditContext = new EditContext(model), ValueExpression = () => model.StringProperty };
30
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>> { EditContext = new EditContext(model) };
42
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
61
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
80
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
99
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
121
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
138
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
161
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
183
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
204
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
238
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
263
var
rootComponent = new TestInputHostComponent<DateTime, TestDateInputComponent>
281
var
rootComponent = new TestInputHostComponent<DateTime, TestDateInputComponent>
311
var
rootComponent = new TestInputHostComponent<DateTime, TestDateInputComponent>
345
var
rootComponent = new TestInputHostComponent<DateTime, TestDateInputComponent>
369
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
405
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
433
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
466
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
498
var
rootComponent = new TestInputHostComponent<string, TestInputComponent<string>>
Forms\InputDateTest.cs (2)
13
var
rootComponent = new TestInputHostComponent<DateTime, TestInputDateComponent>
39
var
rootComponent = new TestInputHostComponent<DateTime, TestInputDateComponent>
Forms\InputNumberTest.cs (4)
28
var
rootComponent = new TestInputHostComponent<int, TestInputNumberComponent>
54
var
rootComponent = new TestInputHostComponent<int, TestInputNumberComponent>
72
var
hostComponent = new TestInputHostComponent<int, TestInputNumberComponent>
96
private async Task<int> RenderAndGetTestInputNumberComponentIdAsync(
TestInputHostComponent
<int, TestInputNumberComponent> hostComponent)
Forms\InputRenderer.cs (1)
11
public static async Task<TComponent> RenderAndGetComponent<TValue, TComponent>(
TestInputHostComponent
<TValue, TComponent> hostComponent)
Forms\InputSelectTest.cs (10)
13
var
rootComponent = new TestInputHostComponent<TestEnum, TestInputSelect<TestEnum>>
32
var
rootComponent = new TestInputHostComponent<TestEnum, TestInputSelect<TestEnum>>
51
var
rootComponent = new TestInputHostComponent<TestEnum?, TestInputSelect<TestEnum?>>
70
var
rootComponent = new TestInputHostComponent<TestEnum?, TestInputSelect<TestEnum?>>
90
var
rootComponent = new TestInputHostComponent<Guid, TestInputSelect<Guid>>
111
var
rootComponent = new TestInputHostComponent<Guid?, TestInputSelect<Guid?>>
132
var
rootComponent = new TestInputHostComponent<int, TestInputSelect<int>>
152
var
rootComponent = new TestInputHostComponent<int?, TestInputSelect<int?>>
171
var
rootComponent = new TestInputHostComponent<int, TestInputSelect<int>>
197
var
rootComponent = new TestInputHostComponent<int, TestInputSelect<int>>
Forms\InputTextAreaTest.cs (1)
13
var
rootComponent = new TestInputHostComponent<string, InputTextArea>
Forms\InputTextTest.cs (1)
13
var
rootComponent = new TestInputHostComponent<string, InputText>