Files
FSI.BT.IR.Tools/FSI.Lib/Tools/RoboSharp/EventArgObjects/RoboQueueCompletedEventArgs.cs
maier_S 907ad039c4 Squashed 'FSI.Lib/' changes from 6aa4846..4a27cd3
4a27cd3 RoboSharp eingefügt
1b2fc1f Erweiterungsmethode für Startparameter einefügt

git-subtree-dir: FSI.Lib
git-subtree-split: 4a27cd377a1959dc669625473b018e42c31ef147
2022-03-23 14:17:56 +01:00

33 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FSI.Lib.Tools.RoboSharp.Interfaces;
using FSI.Lib.Tools.RoboSharp.Results;
namespace FSI.Lib.Tools.RoboSharp.EventArgObjects
{
/// <summary>
/// EventArgs to declare when a RoboCommand process starts
/// </summary>
public class RoboQueueCompletedEventArgs : TimeSpanEventArgs
{
internal RoboQueueCompletedEventArgs(RoboQueueResults runResults, bool listOnlyRun) : base(runResults.StartTime, runResults.EndTime, runResults.TimeSpan)
{
RunResults = runResults;
CopyOperation = !listOnlyRun;
}
/// <summary>
/// RoboQueue Results Object
/// </summary>
public RoboQueueResults RunResults { get; }
/// <summary>
/// TRUE if this run was a COPY OPERATION, FALSE is the results were created after a <see cref="RoboQueue.StartAll_ListOnly(string, string, string)"/> call.
/// </summary>
public bool CopyOperation { get; }
}
}