Hot.Doge Debugger display!

This commit is contained in:
Amy Palamountain
2014-02-20 21:50:23 +13:00
parent c29cfd42ce
commit d35a6eea89
13 changed files with 143 additions and 5 deletions
+13 -1
View File
@@ -1,10 +1,14 @@
using System;

using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
/// <summary>
/// Used to merge a pull request.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class MergePullRequest
{
public MergePullRequest(string message)
@@ -18,5 +22,13 @@ namespace Octokit
/// The message that will be used for the merge commit (optional)
/// </summary>
public string Message { get; private set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Message: {0}", Message);
}
}
}
}