using Prism.Services.Dialogs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapMachine.Wpf.Services { /// /// 对话主机ViewModel基类 /// public interface IHostDialogAware { /// /// DialogHost顶级节点 /// string IdentifierName { get; set; } /// /// 页面初始化前传递参数事件 /// /// /// void OnDialogOpened(IDialogParameters parameters); /// /// 确认 /// Task Save(); /// /// 取消 /// void Cancel(); } }