using System.Diagnostics; using System.Globalization; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class Label { public Label() { } public Label(string url, string name, string color) { Url = url; Name = name; Color = color; } /// /// Url of the label /// public string Url { get; protected set; } /// /// Name of the label /// public string Name { get; protected set; } /// /// Color of the label /// public string Color { get; protected set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Name: {0} Color: {1}", Name, Color); } } } }