IDialogHostAware.cs 813 B

12345678910111213141516171819202122232425262728293031323334
  1. using Prism.Commands;
  2. using Prism.Services.Dialogs;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace ProjectManagementSystemView.Infrastructure
  9. {
  10. public interface IDialogHostAware
  11. {
  12. /// <summary>
  13. /// DialoHost名称
  14. /// </summary>
  15. string DialogHostName { get; set; }
  16. /// <summary>
  17. /// 打开过程中执行
  18. /// </summary>
  19. /// <param name="parameters"></param>
  20. void OnDialogOpend(IDialogParameters parameters);
  21. /// <summary>
  22. /// 确定
  23. /// </summary>
  24. DelegateCommand SaveCommand { get; set; }
  25. /// <summary>
  26. /// 取消
  27. /// </summary>
  28. DelegateCommand CancelCommand { get; set; }
  29. }
  30. }