Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/Services/IUIVisualizerService.cs

23 lines
730 B
C#
Raw Normal View History

2021-07-23 09:42:22 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2022-12-12 22:33:17 +08:00
namespace AIStudio.Wpf.DiagramDesigner.Services
2021-07-23 09:42:22 +08:00
{
/// <summary>
/// This interface defines a UI controller which can be used to display dialogs
/// in either modal form from a ViewModel.
/// </summary>
public interface IUIVisualizerService
{
/// <summary>
/// This method displays a modal dialog associated with the given key.
/// </summary>
/// <param name="dataContextForPopup">Object state to associate with the dialog</param>
/// <returns>True/False if UI is displayed.</returns>
bool? ShowDialog(object dataContextForPopup);
}
}