mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-27 00:23:39 +00:00
34 lines
797 B
C#
34 lines
797 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class GitIgnoreTemplate
|
|
{
|
|
public GitIgnoreTemplate(string name, string source)
|
|
{
|
|
Ensure.ArgumentNotNullOrEmptyString(name, "name");
|
|
Ensure.ArgumentNotNullOrEmptyString(source, "source");
|
|
|
|
Name = name;
|
|
Source = source;
|
|
}
|
|
|
|
public GitIgnoreTemplate()
|
|
{
|
|
}
|
|
|
|
public string Name { get; protected set; }
|
|
public string Source { get; protected set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture, "GitIgnore: {0}", Name);
|
|
}
|
|
}
|
|
}
|
|
}
|