10 references to Create
Microsoft.AspNetCore.Components.Tests (10)
EventCallbackFactoryTest.cs (4)
35var callback = EventCallback.Factory.Create(component, @delegate); 53var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 71var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 86var callback = EventCallback.Factory.Create(component, (Action)null);
RendererTest.cs (6)
1104builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)parentComponent.SomeMethod)); 1142builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1374builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1475builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1577builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 6030builder.AddAttribute(1, "onmakeerror", EventCallback.Factory.Create(this, () => { }));