void IOperationAcceptor.Accept(SynchronizeClocksOperation operation) { foreach (IWirelessDevice targetDevice in owner.Devices.Values) { IWirelessDevice snapshot = targetDevice; snapshot.Accept(operation); } }
void IOperationAcceptor.Accept(NetworkSetupOperation operation) { Guard.NotNull(operation, nameof(operation)); IWirelessDevice?targetDevice = GetPoweredOnDeviceWithAddressOrNull(operation.DestinationAddress); targetDevice?.Accept(operation); }
void IOperationAcceptor.Accept(VisualizeOperation operation) { Guard.NotNull(operation, nameof(operation)); foreach (IWirelessDevice targetDevice in GetDevicesWithAddresses(operation.DestinationAddresses)) { IWirelessDevice snapshot = targetDevice; snapshot.Accept(operation); } }