1 instantiation of EventListenerCollection
Microsoft.AspNetCore.Components.Platform (1)
FeatureContext.cs (1)
33=> new((JSCallbackFactory)(_callbackFactory ??= new JSCallbackFactory(JSRuntime)), _loggerFactory.CreateLogger<EventListenerCollection>());
12 references to EventListenerCollection
Microsoft.AspNetCore.Components.Platform (12)
CookieStore.cs (2)
16private readonly EventListenerCollection _listeners; 20internal CookieStore(IJSRuntime jsRuntime, EventListenerCollection listeners)
EventListener.cs (3)
16private readonly EventListenerCollection _owner; 28public EventListener(EventListenerCollection owner, IJSObjectReference target, string type, Func<TEvent, Task> listener, CancellationToken cancellationToken, ILogger logger) 107EventListenerCollection.Log.ListenerThrew(_logger, _type, ex);
EventType.cs (3)
17private readonly Func<EventListenerCollection, IJSObjectReference, TTarget, Func<TEvent, Task>, CancellationToken, Task<IAsyncDisposable>> _addListenerAsync; 21Func<EventListenerCollection, IJSObjectReference, TTarget, Func<TEvent, Task>, CancellationToken, Task<IAsyncDisposable>> addListenerAsync) 32internal Task<IAsyncDisposable> AddListenerAsync(EventListenerCollection listeners, IJSObjectReference target, TTarget owner, Func<TEvent, Task> listener, CancellationToken cancellationToken)
FeatureContext.cs (2)
32public EventListenerCollection CreateEventListenerCollection() 33=> new((JSCallbackFactory)(_callbackFactory ??= new JSCallbackFactory(JSRuntime)), _loggerFactory.CreateLogger<EventListenerCollection>());
Window.cs (2)
68var listeners = (EventListenerCollection)(_listeners ??= _context.CreateEventListenerCollection());