Implement observable repository content client

This commit is contained in:
Haacked
2014-12-31 10:53:09 -08:00
parent 2b98962c80
commit 0876fd3902
7 changed files with 160 additions and 2 deletions
@@ -1,10 +1,13 @@
namespace Octokit
using System.Diagnostics;
namespace Octokit
{
/// <summary>
/// The response from the Repository Contents API. The API assumes a dynamic client type so we need
/// to model that.
/// </summary>
/// <remarks>https://developer.github.com/v3/repos/contents/</remarks>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class RepositoryContentChangeSet
{
/// <summary>
@@ -16,5 +19,10 @@
/// The commit information for the content change.
/// </summary>
public Commit Commit { get; set; }
internal string DebuggerDisplay
{
get { return Content.DebuggerDisplay; }
}
}
}