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,9 +1,13 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class NewTree
{
public NewTree()
@@ -21,5 +25,13 @@ namespace Octokit
/// </summary>
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public ICollection<NewTreeItem> Tree { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "BaseTree: {0}", BaseTree);
}
}
}
}