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
This commit is contained in:
maier_S
2022-03-23 14:17:56 +01:00
parent a0095a0516
commit 907ad039c4
57 changed files with 11301 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
using System;
// Do Not change NameSpace here! -> Must be RoboSharp due to prior releases
namespace FSI.Lib.Tools.RoboSharp
{
/// <summary>
/// Current File Progress reported as <see cref="double"/>
/// </summary>
public class CopyProgressEventArgs : EventArgs
{
/// <summary><inheritdoc cref="CopyProgressEventArgs"/></summary>
/// <param name="progress"><inheritdoc cref="CurrentFileProgress"/></param>
public CopyProgressEventArgs(double progress)
{
CurrentFileProgress = progress;
}
/// <summary><inheritdoc cref="CopyProgressEventArgs"/></summary>
/// <param name="progress"><inheritdoc cref="CurrentFileProgress"/></param>
/// <param name="currentFile"><inheritdoc cref="CurrentFile"/></param>
/// <param name="SourceDir"><inheritdoc cref="CurrentDirectory"/></param>
public CopyProgressEventArgs(double progress, ProcessedFileInfo currentFile, ProcessedFileInfo SourceDir)
{
CurrentFileProgress = progress;
CurrentFile = currentFile;
CurrentDirectory = SourceDir;
}
/// <summary>
/// Current File Progress Percentage
/// </summary>
public double CurrentFileProgress { get; internal set; }
/// <inheritdoc cref="ProcessedFileInfo"/>
public ProcessedFileInfo CurrentFile { get; internal set; }
/// <summary>Contains information about the Last Directory RoboCopy reported into the log. </summary>
public ProcessedFileInfo CurrentDirectory{ get; internal set; }
}
}