first edit
This commit is contained in:
12
XLIMS.CONTRACT/IDialogService.cs
Normal file
12
XLIMS.CONTRACT/IDialogService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user