public bool TryGetValue(int key, out ProcessWatcher value) => watchers.TryGetValue(key, out value);
public void Add(ProcessWatcher watcher) { Interlocked.Exchange(ref watchers, watchers.SetItem(watcher.Port, watcher)); }
public bool TryGetValue(int key, out ProcessWatcher value) => watchers.TryGetValue(key, out value);
public void Add(ProcessWatcher watcher) { Interlocked.Exchange(ref watchers, watchers.SetItem(watcher.Port, watcher)); }