using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class RunnerResponse { public RunnerResponse() { } public RunnerResponse(int totalCount, IReadOnlyList runners) { TotalCount = totalCount; Runners = runners; } /// /// The total number of runners. /// public int TotalCount { get; private set; } /// /// The retrieved runners. /// public IReadOnlyList Runners { get; private set; } internal string DebuggerDisplay => string.Format(CultureInfo.CurrentCulture, "TotalCount: {0}, Runners: {1}", TotalCount, Runners.Count); } }