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

View File

@@ -1,7 +1,10 @@
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GistComment
{
/// <summary>
@@ -33,5 +36,13 @@ namespace Octokit
/// The date this comment was last updated.
/// </summary>
public DateTimeOffset? UpdatedAt { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Id: {0} CreatedAt: {1}", Id, CreatedAt);
}
}
}
}