namespace VersOne.Epub.WpfDemo.WpfEnvironment
{
///
/// Provides methods for various operations related to window contexts and dialog windows.
///
internal interface IWindowManager
{
///
/// Creates an instance of a window associated with the type of the provided view model and returns its window context.
///
/// View model for which the window needs to be created. The type of the window is chosen by the type of the view model.
/// Window context for the created window.
IWindowContext CreateWindow(object viewModel);
///
/// Gets the window context for the active window.
///
/// Window context for the active window.
IWindowContext FindActiveWindow();
///
/// Shows the standard open file dialog window, waits for the user's action, and then returns the dialog result.
///
/// The parameters that configure the behavior of the dialog window.
/// The result of the user's action in the dialog window.
OpenFileDialogResult ShowOpenFileDialog(OpenFileDialogParameters openFileDialogParameters);
}
}