added Context property to support different system

This commit is contained in:
Brendan Forster
2014-05-17 12:15:41 +10:00
parent cab6cddc97
commit 6c0df1eee4
+6 -1
View File
@@ -24,11 +24,16 @@ namespace Octokit
/// </summary>
public string Description { get; set; }
/// <summary>
/// A string label to differentiate this status from the status of other systems.
/// </summary>
public string Context { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Description: {0}", Description);
return String.Format(CultureInfo.InvariantCulture, "Description: {0}, Context: {1}", Description, Context);
}
}
}