Files
FSI.BT.IR.Tools/FSI.Lib/FSI.Lib/Tools/RoboSharp/EventArgObjects/ResultListUpdatedEventArgs.cs

25 lines
874 B
C#

using System;
using FSI.Lib.Tools.RoboSharp.Results;
using FSI.Lib.Tools.RoboSharp.Interfaces;
namespace FSI.Lib.Tools.RoboSharp.EventArgObjects
{
/// <summary> EventArgs for the <see cref="RoboCopyResultsList.ResultsListUpdated"/> delegate </summary>
public class ResultListUpdatedEventArgs : EventArgs
{
private ResultListUpdatedEventArgs() { }
/// <summary> Create the EventArgs for the <see cref="RoboCopyResultsList.ResultsListUpdated"/> delegate </summary>
/// <param name="list">Results list to present as an interface</param>
public ResultListUpdatedEventArgs(IRoboCopyResultsList list)
{
ResultsList = list;
}
/// <summary>
/// Read-Only interface to the List that has been updated.
/// </summary>
public IRoboCopyResultsList ResultsList { get; }
}
}