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