using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Used by to indicate the level of change. /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class GistChangeStatus { public GistChangeStatus() { } public GistChangeStatus(int deletions, int additions, int total) { Deletions = deletions; Additions = additions; Total = total; } /// /// The number of deletions that occurred as part of this change. /// public int Deletions { get; protected set; } /// /// The number of additions that occurred as part of this change. /// public int Additions { get; protected set; } /// /// The total number of changes. /// public int Total { get; protected set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Deletions: {0}, Additions: {1}, Total: {2}", Deletions, Additions, Total); } } } }