Files
XLIMS/XLIMS.CONTRACT/IDialogService.cs
Курнат Андрей f0e11d6379 first edit
2026-01-31 16:11:36 +03:00

12 lines
449 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace XLIMS.CONTRACT;
public interface IDialogService
{
void ShowDialog<TViewModel>(TViewModel viewModel) where TViewModel : class;
// Если нужны модальные окна с результатом:
bool? ShowDialog<TViewModel>(TViewModel viewModel, out object? result)
where TViewModel : class;
//немодальные окна
void Show<TViewModel>(TViewModel viewModel) where TViewModel : class;
}