28 lines
858 B
C#
28 lines
858 B
C#
// Lattice.UI.Docking\Services\DockUIServiceBase.cs
|
||
using Lattice.UI.Docking.Abstractions;
|
||
|
||
namespace Lattice.UI.Docking.Services;
|
||
|
||
/// <summary>
|
||
/// Базовая реализация UI-сервиса с общими функциями.
|
||
/// </summary>
|
||
public abstract class DockUIServiceBase : IDockUIService
|
||
{
|
||
/// <inheritdoc/>
|
||
public abstract object CreateMainWindow(IDockHost host);
|
||
|
||
/// <inheritdoc/>
|
||
public abstract bool? ShowDialog(string title, object content);
|
||
|
||
/// <inheritdoc/>
|
||
public abstract void ShowMessage(string message, string caption);
|
||
|
||
/// <inheritdoc/>
|
||
public abstract bool Confirm(string message, string caption);
|
||
|
||
/// <inheritdoc/>
|
||
public abstract string? Prompt(string prompt, string? defaultValue = null);
|
||
|
||
/// <inheritdoc/>
|
||
public abstract void InvokeOnUIThread(Action action);
|
||
} |