2 writes to ListenerDict
Microsoft.ML.Core (2)
Environment\HostEnvironmentBase.cs (2)
377
ListenerDict
= new ConcurrentDictionary<Type, Dispatcher>();
403
ListenerDict
= source.ListenerDict;
5 references to ListenerDict
Microsoft.ML.Core (5)
Environment\HostEnvironmentBase.cs (5)
403
ListenerDict = source.
ListenerDict
;
471
if (!
ListenerDict
.TryGetValue(typeof(TMessage), out Dispatcher dispatcher)
472
&& !
ListenerDict
.TryAdd(typeof(TMessage), dispatcher = new Dispatcher<TMessage>()))
476
dispatcher =
ListenerDict
[typeof(TMessage)];
507
if (!
ListenerDict
.TryGetValue(typeof(TMessage), out Dispatcher dispatcher))