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
{
///
/// EventArgs to declare when a RoboCommand process starts
///
public class RoboQueueCompletedEventArgs : TimeSpanEventArgs
{
internal RoboQueueCompletedEventArgs(RoboQueueResults runResults, bool listOnlyRun) : base(runResults.StartTime, runResults.EndTime, runResults.TimeSpan)
{
RunResults = runResults;
CopyOperation = !listOnlyRun;
}
///
/// RoboQueue Results Object
///
public RoboQueueResults RunResults { get; }
///
/// TRUE if this run was a COPY OPERATION, FALSE is the results were created after a call.
///
public bool CopyOperation { get; }
}
}