private void Adapter_DeviceDiscovered(object sender, DeviceEventArgs e) { IMessage message = this.MessagingService.CreateMessage(MessageNames.DeviceDiscovered); message.AddMessageData(MessageNames.DeviceDiscoveredKey1, this.Adapter.DiscoveredDevices); this.MessagingService.PostMessage(message); }