1 implementation of IAppDomainShutdownListener
PresentationCore (1)
System\Windows\InterOp\D3DImage.cs (1)
27public class D3DImage : ImageSource, IAppDomainShutdownListener
9 references to IAppDomainShutdownListener
PresentationCore (9)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\AppDomainShutdownMonitor.cs (6)
26new HashSet<WeakReference<IAppDomainShutdownListener>>(); 32public static void Add(WeakReference<IAppDomainShutdownListener> listener) 45public static void Remove(WeakReference<IAppDomainShutdownListener> listener) 65foreach (WeakReference<IAppDomainShutdownListener> weakReference in _listeners) 67if (weakReference.TryGetTarget(out var listener)) 74private static readonly HashSet<WeakReference<IAppDomainShutdownListener>> _listeners;
System\Windows\InterOp\D3DImage.cs (3)
67_listener = new WeakReference<IAppDomainShutdownListener>(this); 871void IAppDomainShutdownListener.NotifyShutdown() 918private WeakReference<IAppDomainShutdownListener> _listener;