1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/dotnet/interfaces/IOperationResult.cs
Martin Prikryl b0e7134254 Merge branch 'dev'
Source commit: 405dbf95bcad125bde23283c5c13cfee156ea344
2026-06-22 16:53:40 +02:00

36 lines
926 B
C#

namespace WinSCP
{
public interface IOperationResultBase
{
bool IsSuccess { get; }
SessionRemoteExceptionCollection Failures { get; }
void Check();
}
public interface ITransferOperationResult : IOperationResultBase
{
TransferEventArgsCollection Transfers { get; }
}
public interface IRemovalOperationResult : IOperationResultBase
{
RemovalEventArgsCollection Removals { get; }
}
public interface ISynchronizationResult : IOperationResultBase
{
TransferEventArgsCollection Downloads { get; }
TransferEventArgsCollection Uploads { get; }
RemovalEventArgsCollection Removals { get; }
}
public interface ICommandExecutionResult
{
string Output { get; }
string ErrorOutput { get; }
int ExitCode { get; }
bool IsSuccess { get; }
}
}