private void OnBroadcastMessageReceived(BroadcastMessageReceivedEventArgs e) { var handler = BroadcastMessageReceived; if (handler != null) { handler(this, e); } }
private void BroadcastMessageReceived(object sender, BroadcastMessageReceivedEventArgs e) { Execute.OnUIThread(() => _WindowManager.ShowDialog( TinyIoCContainer.Current.Resolve<NewBroadcastMessageViewModel>( new NamedParameterOverloads(new Dictionary<string, object> {{"message", e.Message}})))); }
private void OnBroadcastMessageReceived(BroadcastMessageReceivedEventArgs e) { var handler = BroadcastMessageReceived; if (handler != null) handler(this, e); }