seb-win-refactoring/SafeExamBrowser.UserInterface.Contracts/FileSystemDialog/IFileSystemDialog.cs

27 lines
865 B
C#

/*
* Copyright (c) 2020 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using SafeExamBrowser.UserInterface.Contracts.Windows;
namespace SafeExamBrowser.UserInterface.Contracts.FileSystemDialog
{
public interface IFileSystemDialog
{
/// <summary>
/// Creates a dialog according to the given parameters and shows it to the user.
/// </summary>
FileSystemDialogResult Show(
FileSystemElement element,
FileSystemOperation operation,
string initialPath = default(string),
string message = default(string),
string title = default(string),
IWindow parent = default(IWindow),
bool restrictNavigation = false);
}
}