private void RemoteSystemWatcher_RemoteSystemUpdated(RemoteSystemWatcher watcher, RemoteSystemUpdatedEventArgs args) { System.Diagnostics.Debug.WriteLine("KNOWZY: RemoteSystemUpdated " + args.P0.Id); remoteSystems.RemoveAll(system => system.Id == args.P0.Id); remoteSystems.Add(args.P0); RemoteSystemUpdated?.Invoke(this, args); }
internal void InvokeRemoteSystemUpdated(RemoteSystem remoteSystem) { RemoteSystemUpdated?.Invoke(this, new RemoteSystemUpdatedEventArgs(remoteSystem)); }