mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 18:13:21 +00:00
Winner - debugger display!
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
namespace Octokit
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class ReferenceUpdate
|
||||
{
|
||||
public ReferenceUpdate(string sha) : this(sha, false)
|
||||
@@ -16,5 +21,13 @@
|
||||
|
||||
public string Sha { get; private set; }
|
||||
public bool Force { get; private set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Sha: {0} Force: {1}", Sha, Force);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user