7 references to WeakEventHandler
Microsoft.CodeAnalysis.Workspaces (7)
Options\GlobalOptionService.cs (2)
257
public void AddOptionChangedHandler(object target,
WeakEventHandler
<OptionChangedEventArgs> handler)
262
public void RemoveOptionChangedHandler(object target,
WeakEventHandler
<OptionChangedEventArgs> handler)
Options\IGlobalOptionService.cs (2)
69
void AddOptionChangedHandler(object target,
WeakEventHandler
<OptionChangedEventArgs> handler);
71
void RemoveOptionChangedHandler(object target,
WeakEventHandler
<OptionChangedEventArgs> handler);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\WeakEvent`1.cs (3)
25
private readonly EnumerableConditionalWeakTable<object,
WeakEventHandler
<TEventArgs>> _handlers = new();
27
public void AddHandler(object target,
WeakEventHandler
<TEventArgs> handler)
42
public void RemoveHandler(object target,
WeakEventHandler
<TEventArgs> handler)