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,139 @@
using FSI.Lib.Tools.RoboSharp.Interfaces;
using FSI.Lib.Tools.RoboSharp.Results;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Threading.Tasks;
namespace FSI.Lib.Tools.RoboSharp.Interfaces
{
/// <summary>
/// Interface for RoboQueue
/// </summary>
public interface IRoboQueue : IDisposable, INotifyPropertyChanged, IEnumerable<IRoboCommand>
{
#region < Properties >
/// <inheritdoc cref="RoboQueue.AnyCancelled"/>
bool AnyCancelled { get; }
/// <inheritdoc cref="RoboQueue.AnyPaused"/>
bool AnyPaused { get; }
/// <inheritdoc cref="RoboQueue.AnyRunning"/>
bool AnyRunning { get; }
/// <inheritdoc cref="RoboQueue.Commands"/>
ReadOnlyCollection<IRoboCommand> Commands { get; }
/// <inheritdoc cref="RoboQueue.CopyOperationCompleted"/>
bool CopyOperationCompleted { get; }
/// <inheritdoc cref="RoboQueue.IsCopyOperationRunning"/>
bool IsCopyOperationRunning { get; }
/// <inheritdoc cref="RoboQueue.IsListOnlyRunning"/>
bool IsListOnlyRunning { get; }
/// <inheritdoc cref="RoboQueue.IsPaused"/>
bool IsPaused { get; }
/// <inheritdoc cref="RoboQueue.IsRunning"/>
bool IsRunning { get; }
/// <inheritdoc cref="RoboQueue.JobsComplete"/>
int JobsComplete { get; }
/// <inheritdoc cref="RoboQueue.JobsCompletedSuccessfully"/>
int JobsCompletedSuccessfully { get; }
/// <inheritdoc cref="RoboQueue.JobsCurrentlyRunning"/>
int JobsCurrentlyRunning { get; }
/// <inheritdoc cref="RoboQueue.JobsStarted"/>
int JobsStarted { get; }
/// <inheritdoc cref="RoboQueue.ListCount"/>
int ListCount { get; }
/// <inheritdoc cref="RoboQueue.ListOnlyCompleted"/>
bool ListOnlyCompleted { get; }
/// <inheritdoc cref="RoboQueue.ListResults"/>
IRoboQueueResults ListResults { get; }
/// <inheritdoc cref="RoboQueue.MaxConcurrentJobs"/>
int MaxConcurrentJobs { get; set; }
/// <inheritdoc cref="RoboQueue.Name"/>
string Name { get; }
/// <inheritdoc cref="RoboQueue.ProgressEstimator"/>
IProgressEstimator ProgressEstimator { get; }
/// <inheritdoc cref="RoboQueue.RunResults"/>
IRoboQueueResults RunResults { get; }
/// <inheritdoc cref="RoboQueue.WasCancelled"/>
bool WasCancelled { get; }
#endregion
#region < Events >
/// <inheritdoc cref="RoboQueue.OnCommandCompleted"/>
event RoboCommand.CommandCompletedHandler OnCommandCompleted;
/// <inheritdoc cref="RoboQueue.OnCommandError"/>
event RoboCommand.CommandErrorHandler OnCommandError;
/// <inheritdoc cref="RoboQueue.OnCommandStarted"/>
event RoboQueue.CommandStartedHandler OnCommandStarted;
/// <inheritdoc cref="RoboQueue.OnCopyProgressChanged"/>
event RoboCommand.CopyProgressHandler OnCopyProgressChanged;
/// <inheritdoc cref="RoboQueue.OnError"/>
event RoboCommand.ErrorHandler OnError;
/// <inheritdoc cref="RoboQueue.OnFileProcessed"/>
event RoboCommand.FileProcessedHandler OnFileProcessed;
/// <inheritdoc cref="RoboQueue.OnProgressEstimatorCreated"/>
event RoboQueue.ProgressUpdaterCreatedHandler OnProgressEstimatorCreated;
/// <inheritdoc cref="RoboQueue.RunCompleted"/>
event RoboQueue.RunCompletedHandler RunCompleted;
/// <inheritdoc cref="RoboQueue.RunResultsUpdated"/>
event RoboCopyResultsList.ResultsListUpdated RunResultsUpdated;
/// <inheritdoc cref="RoboQueue.TaskFaulted"/>
event UnhandledExceptionEventHandler TaskFaulted;
#endregion
#region < Methods >
/// <inheritdoc cref="RoboQueue.PauseAll"/>
void PauseAll();
/// <inheritdoc cref="RoboQueue.ResumeAll"/>
void ResumeAll();
/// <inheritdoc cref="RoboQueue.StartAll"/>
Task<IRoboQueueResults> StartAll(string domain = "", string username = "", string password = "");
/// <inheritdoc cref="RoboQueue.StartAll_ListOnly"/>
Task<IRoboQueueResults> StartAll_ListOnly(string domain = "", string username = "", string password = "");
/// <inheritdoc cref="RoboQueue.StopAll"/>
void StopAll();
#endregion
}
}