using System; using System.Collections.Generic; using System.Linq; using System.Text; using RoboSharp.Interfaces; using RoboSharp.Results; namespace 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; } } }