8 references to Create
Microsoft.AspNetCore.Components.Tests (8)
EventCallbackFactoryTest.cs (4)
169
var callback = EventCallback.Factory.
Create
(component, @delegate);
187
var callback = EventCallback.Factory.
Create
(anotherComponent, @delegate);
205
var callback = EventCallback.Factory.
Create
(anotherComponent, @delegate);
236
var callback = EventCallback.Factory.
Create
(component, (Func<Task>)null);
RendererTest.cs (4)
1183
builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.
Create
(parentComponent, (Func<Task>)(() =>
1684
builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.
Create
(parentComponent, async () =>
1798
builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.
Create
(parentComponent, async () =>
1917
builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.
Create
(parentComponent, async () =>