2018-02-28 15:49:06 +01:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2018-02-28 15:49:06 +01:00
|
|
|
|
*
|
|
|
|
|
* 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.Core.Contracts.OperationModel
|
2018-02-28 15:49:06 +01:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2018-10-10 09:19:03 +02:00
|
|
|
|
/// Defines the operation result of the execution of an <see cref="IOperation"/> resp. <see cref="IOperationSequence"/>.
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2018-02-28 15:49:06 +01:00
|
|
|
|
public enum OperationResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicates that the operation has been aborted due to an expected condition, e.g. as result of a user decision.
|
|
|
|
|
/// </summary>
|
2018-03-21 15:28:59 +01:00
|
|
|
|
Aborted = 1,
|
2018-02-28 15:49:06 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicates that the operation has failed due to an invalid or unexpected condition.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Failed,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicates that the operation has been executed successfully.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Success
|
|
|
|
|
}
|
|
|
|
|
}
|