mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
26 lines
777 B
C#
26 lines
777 B
C#
using Octokit.Internal;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class MachinesCollection
|
|
{
|
|
public MachinesCollection(IReadOnlyList<Machine> machines, int count)
|
|
{
|
|
Machines = machines;
|
|
Count = count;
|
|
}
|
|
|
|
public MachinesCollection() { }
|
|
|
|
[Parameter(Key = "total_count")]
|
|
public int Count { get; private set; }
|
|
[Parameter(Key = "machines")]
|
|
public IReadOnlyList<Machine> Machines { get; private set; } = new List<Machine>();
|
|
|
|
internal string DebuggerDisplay => string.Format(CultureInfo.CurrentCulture, "MachinesCollection: Count: {0}", Count);
|
|
}
|
|
} |