17 instantiations of TestComponent
Microsoft.AspNetCore.Components.Tests (17)
ComponentBaseTest.cs (17)
21
var component = new
TestComponent
();
39
var component = new
TestComponent
();
63
var component = new
TestComponent
();
87
var component = new
TestComponent
();
106
var component = new
TestComponent
();
130
var component = new
TestComponent
();
154
var component = new
TestComponent
();
188
var component = new
TestComponent
();
236
var component = new
TestComponent
() { Counter = 1 };
264
var component = new
TestComponent
() { Counter = 1 };
307
var component = new
TestComponent
() { Counter = 1 };
356
var component = new
TestComponent
() { Counter = 1 };
380
var component = new
TestComponent
() { Counter = 1 };
408
var component = new
TestComponent
{ OnInitLogic = _ => throw expected };
424
var component = new
TestComponent
{ OnInitAsyncLogic = _ => Task.FromException(expected) };
440
var component = new
TestComponent
{ OnParametersSetLogic = _ => throw expected };
456
var component = new
TestComponent
{ OnParametersSetAsyncLogic = _ => Task.FromException(expected) };
23 references to TestComponent
Microsoft.AspNetCore.Components.Tests (23)
ComponentBaseTest.cs (23)
21
var
component = new TestComponent();
39
var
component = new TestComponent();
63
var
component = new TestComponent();
87
var
component = new TestComponent();
106
var
component = new TestComponent();
130
var
component = new TestComponent();
154
var
component = new TestComponent();
188
var
component = new TestComponent();
236
var
component = new TestComponent() { Counter = 1 };
264
var
component = new TestComponent() { Counter = 1 };
307
var
component = new TestComponent() { Counter = 1 };
356
var
component = new TestComponent() { Counter = 1 };
380
var
component = new TestComponent() { Counter = 1 };
408
var
component = new TestComponent { OnInitLogic = _ => throw expected };
424
var
component = new TestComponent { OnInitAsyncLogic = _ => Task.FromException(expected) };
440
var
component = new TestComponent { OnParametersSetLogic = _ => throw expected };
456
var
component = new TestComponent { OnParametersSetAsyncLogic = _ => Task.FromException(expected) };
480
public Action<
TestComponent
> OnInitLogic { get; set; }
482
public Func<
TestComponent
, Task> OnInitAsyncLogic { get; set; }
484
public Action<
TestComponent
> OnParametersSetLogic { get; set; }
486
public Func<
TestComponent
, Task> OnParametersSetAsyncLogic { get; set; }
488
public Action<
TestComponent
, bool> OnAfterRenderLogic { get; set; }
490
public Func<
TestComponent
, bool, Task> OnAfterRenderAsyncLogic { get; set; }