private void OnDialog(PageJavascriptDialogOpeningResponse message) { var dialog = new Dialog(_client, message.Type, message.Message, message.DefaultPrompt); Dialog?.Invoke(this, new DialogEventArgs(dialog)); }
public DialogEventArgs(Dialog dialog) => Dialog = dialog;