コード例 #1
0
        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);
        }
コード例 #2
0
 internal void InvokeRemoteSystemUpdated(RemoteSystem remoteSystem)
 {
     RemoteSystemUpdated?.Invoke(this, new RemoteSystemUpdatedEventArgs(remoteSystem));
 }