using System; using System.Collections.Generic; namespace Renci.SshNet.Tests.Common { /// /// The outcome of . /// public sealed class ScpTranscriptResult { public ScpTranscriptResult(bool completed, Exception exception, IReadOnlyList sentData, IReadOnlyList execRequests) { Completed = completed; Exception = exception; SentData = sentData; ExecRequests = execRequests; } /// /// Gets a value indicating whether the operation finished within the timeout. /// public bool Completed { get; } /// /// Gets the exception thrown by the operation, if any. /// public Exception Exception { get; } /// /// Gets the data the client sent on the channel, one entry per send. /// public IReadOnlyList SentData { get; } /// /// Gets the commands the client sent in exec requests. /// public IReadOnlyList ExecRequests { get; } } }