1 interface inheriting from IEventListener
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\EventListener\IEventListener`1.cs (1)
14
internal interface IEventListener<TService> :
IEventListener
12 references to IEventListener
Microsoft.CodeAnalysis.Workspaces (12)
Workspace\Host\EventListener\EventListenerMetadata.cs (1)
10
/// MEF metadata class used to find exports declared for a specific <see cref="
IEventListener
"/>.
Workspace\Host\EventListener\EventListenerTracker.cs (5)
14
/// helper type to track whether <see cref="
IEventListener
"/> has been initialized.
20
IEnumerable<Lazy<
IEventListener
, EventListenerMetadata>> eventListeners, string kind)
26
private readonly ImmutableArray<Lazy<
IEventListener
, EventListenerMetadata>> _eventListeners = eventListeners.Where(el => el.Metadata.Service == kind).ToImmutableArray();
48
string? workspaceKind, IEnumerable<Lazy<
IEventListener
, EventListenerMetadata>> eventListeners)
68
internal ref readonly ImmutableArray<Lazy<
IEventListener
, EventListenerMetadata>> EventListeners
Workspace\Host\EventListener\ExportEventListenerAttribute.cs (2)
21
/// MEF export attribute for <see cref="
IEventListener
"/>
28
: base(typeof(
IEventListener
))
Workspace\Host\EventListener\IEventListenerStoppable.cs (2)
10
/// provide a way for <see cref="
IEventListener
"/> to mark it as stoppable
12
/// for example, if the service <see cref="
IEventListener
"/> is used for is a disposable
Workspace\Host\EventListener\IWorkspaceEventListenerProvider.cs (1)
28
[ImportMany] IEnumerable<Lazy<
IEventListener
, EventListenerMetadata>> eventListeners) : IWorkspaceServiceFactory
Workspace\Host\EventListener\WellKnownEventListeners.cs (1)
8
/// list of well known <see cref="
IEventListener
"/> types