Hot.Doge Debugger display!

This commit is contained in:
Amy Palamountain
2014-02-20 21:50:23 +13:00
parent c29cfd42ce
commit d35a6eea89
13 changed files with 143 additions and 5 deletions
+11
View File
@@ -1,8 +1,11 @@
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class NewReference
{
const string _refsPrefix = "refs";
@@ -36,5 +39,13 @@ namespace Octokit
return string.Join("/", parts);
}
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Ref: {0} Sha: {1}", Ref,Sha);
}
}
}
}