Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/Services/IUIVisualizerService.cs
艾竹 4b798f75a0 1.01
2022-12-12 22:33:17 +08:00

23 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIStudio.Wpf.DiagramDesigner.Services
{
/// <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);
}
}