Winner - debugger display!

This commit is contained in:
Amy Palamountain
2014-02-20 22:23:15 +13:00
parent 3a603361f5
commit b216c69377
7 changed files with 81 additions and 5 deletions
+14 -1
View File
@@ -1,9 +1,22 @@
namespace Octokit
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Reference
{
public string Ref { get; set; }
public string Url { get; set; }
public TagObject Object { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Ref: {0}", Ref);
}
}
}
}