30 references to Create
Aspire.Dashboard (2)
Components\Layout\MainLayout.razor.cs (2)
170OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, HandleDialogClose) 204OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, HandleDialogClose)
Microsoft.AspNetCore.Components (6)
CompilerServices\RuntimeHelpers.cs (1)
36return EventCallback.Factory.Create<T>(receiver, callback);
EventCallbackFactory.cs (1)
179return Create(receiver, callback);
EventCallbackFactoryBinderExtensions.cs (2)
1379return factory.Create<ChangeEventArgs>(receiver, callback); 1466return factory.Create<ChangeEventArgs>(receiver, callback);
EventCallbackFactoryEventArgsExtensions.cs (2)
23return factory.Create<EventArgs>(receiver, callback); 53return factory.Create<ChangeEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.Tests (11)
EventCallbackFactoryTest.cs (8)
102var callback = EventCallback.Factory.Create(component, @delegate); 120var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 138var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 153var callback = EventCallback.Factory.Create(component, (Action<string>)null); 389var callback = EventCallback.Factory.Create<string>(component, @delegate); 407var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 422var callback = EventCallback.Factory.Create<string>(component, (Action<string>)null); 440var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate);
RendererTest.cs (3)
1408builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create(parentComponent, (Action<DerivedEventArgs>)((e) => 1509builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create(parentComponent, (Action<DerivedEventArgs>)((e) => 1611builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Action<DerivedEventArgs>)((e) =>
Microsoft.AspNetCore.Components.Web (10)
Web\WebEventCallbackFactoryEventArgsExtensions.cs (10)
24return factory.Create<ClipboardEventArgs>(receiver, callback); 56return factory.Create<DragEventArgs>(receiver, callback); 88return factory.Create<ErrorEventArgs>(receiver, callback); 120return factory.Create<FocusEventArgs>(receiver, callback); 152return factory.Create<KeyboardEventArgs>(receiver, callback); 184return factory.Create<MouseEventArgs>(receiver, callback); 215return factory.Create<PointerEventArgs>(receiver, callback); 247return factory.Create<ProgressEventArgs>(receiver, callback); 279return factory.Create<TouchEventArgs>(receiver, callback); 311return factory.Create<WheelEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\TestInputHostComponent.cs (1)
31EventCallback.Factory.Create(this, ValueChanged));