mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 10:55:53 +00:00
Hot.Doge Debugger display!
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class NewReference
|
||||
{
|
||||
const string _refsPrefix = "refs";
|
||||
@@ -36,5 +39,13 @@ namespace Octokit
|
||||
|
||||
return string.Join("/", parts);
|
||||
}
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Ref: {0} Sha: {1}", Ref,Sha);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user