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,7 +1,10 @@
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Subscription
{
/// <summary>
@@ -33,5 +36,13 @@ namespace Octokit
/// The API URL for this <see cref="Repository"/>.
/// </summary>
public Uri RepositoryUrl { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Subscribed: {0}", Subscribed);
}
}
}
}