コード例 #1
0
 void IOperationAcceptor.Accept(SynchronizeClocksOperation operation)
 {
     foreach (IWirelessDevice targetDevice in owner.Devices.Values)
     {
         IWirelessDevice snapshot = targetDevice;
         snapshot.Accept(operation);
     }
 }
コード例 #2
0
            void IOperationAcceptor.Accept(NetworkSetupOperation operation)
            {
                Guard.NotNull(operation, nameof(operation));

                IWirelessDevice?targetDevice = GetPoweredOnDeviceWithAddressOrNull(operation.DestinationAddress);

                targetDevice?.Accept(operation);
            }
コード例 #3
0
            void IOperationAcceptor.Accept(VisualizeOperation operation)
            {
                Guard.NotNull(operation, nameof(operation));

                foreach (IWirelessDevice targetDevice in GetDevicesWithAddresses(operation.DestinationAddresses))
                {
                    IWirelessDevice snapshot = targetDevice;
                    snapshot.Accept(operation);
                }
            }