v1.2
This commit is contained in:
32
RoboSharp/EventArgObjects/RoboQueueCompletedEventArgs.cs
Normal file
32
RoboSharp/EventArgObjects/RoboQueueCompletedEventArgs.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using RoboSharp.Interfaces;
|
||||
using RoboSharp.Results;
|
||||
|
||||
namespace 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user