This commit is contained in:
Amy Palamountain
2014-02-19 22:00:56 +13:00
parent fa9c618302
commit cd5627c824
5 changed files with 55 additions and 5 deletions
+11
View File
@@ -1,8 +1,11 @@
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Release
{
public string Url { get; set; }
@@ -19,5 +22,13 @@ namespace Octokit
public bool Prerelease { get; set; }
public DateTimeOffset CreatedAt { get; set; }
public DateTimeOffset? PublishedAt { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Name: {0} PublishedAt: {1}", Name, PublishedAt);
}
}
}
}