11 writes to OnTest
Microsoft.AspNetCore.Components.Tests (11)
RendererTest.cs (11)
548
OnTest
= args => { receivedArgs = args; }
578
OnTest
= args => { receivedArgs = args; }
701
OnTest
= args => throw new Exception("Error")
801
nestedComponent.
OnTest
= args => { receivedArgs = args; };
2679
var component = new EventComponent {
OnTest
= origEventHandler };
2697
component.
OnTest
= args => { newEventCount++; };
2721
var component = new EventComponent {
OnTest
= origEventHandler };
2738
component.
OnTest
= null;
2807
var component = new EventComponent {
OnTest
= origEventHandler };
3497
component.
OnTest
= args => eventHandler(args);
3501
component = new EventComponent {
OnTest
= eventHandler };
5 references to OnTest
Microsoft.AspNetCore.Components.Tests (5)
RendererTest.cs (5)
2634
{ nameof(EventComponent.
OnTest
), origEventHandler }
2761
{ nameof(EventComponent.
OnTest
), origEventHandler }
2848
builder.AddComponentParameter(2, nameof(EventComponent.
OnTest
), new Action<EventArgs>(args =>
5314
if (
OnTest
!= null)
5316
builder.AddAttribute(3, "ontest",
OnTest
);