This commit is contained in:
Amy Palamountain
2014-02-20 21:28:23 +13:00
parent a6b27c3024
commit c29cfd42ce
7 changed files with 88 additions and 5 deletions
+13 -1
View File
@@ -1,13 +1,17 @@
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Activity
{
/// <summary>
/// The type of the activity.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
public string Type { get; set; }
/// <summary>
@@ -39,5 +43,13 @@ namespace Octokit
/// The activity event Id.
/// </summary>
public string Id { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Type: {0}", Type);
}
}
}
}