mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Add DebuggerDisplay to GitIgnoreTemplate
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 GitIgnoreTemplate
|
||||
{
|
||||
public GitIgnoreTemplate(string name, string source)
|
||||
@@ -17,5 +22,14 @@
|
||||
|
||||
public string Name { get; protected set; }
|
||||
public string Source { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "GitIgnore: {0}", Name);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user