void RemoveClientFromWatchList(NewCamdApi api) { lock (_syncObject) { _activeClients.Remove(api); } Logger.Debug($"Removed client {api.Name} from the watchlist"); }
void AddClientToWatchList(NewCamdApi api) { lock (_syncObject) { _activeClients.Add(api); } Logger.Debug($"Added client {api.Name} to the watchlist"); }