internal static void SendMessageCloseDialogs(Guid dialogInstanceId, CloseDialogsMode mode) { SystemMessage msg = new SystemMessage(MessageType.CloseDialogs); msg.MessageData[DIALOG_INSTANCE_ID] = dialogInstanceId; msg.MessageData[CLOSE_DIALOGS_MODE] = mode; ServiceRegistration.Get <IMessageBroker>().Send(CHANNEL, msg); }
internal static void SendMessageCloseDialogs(Guid dialogInstanceId, CloseDialogsMode mode) { SystemMessage msg = new SystemMessage(MessageType.CloseDialogs); msg.MessageData[DIALOG_INSTANCE_ID] = dialogInstanceId; msg.MessageData[CLOSE_DIALOGS_MODE] = mode; ServiceRegistration.Get<IMessageBroker>().Send(CHANNEL, msg); }