mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 04:40:54 +00:00
added some DebuggerDisplay
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
using Octokit.Internal;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using Octokit.Internal;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class RepositoryRequest : RequestParameters
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
|
||||
@@ -10,6 +14,14 @@ namespace Octokit
|
||||
public RepositorySort Sort { get; set; }
|
||||
|
||||
public SortDirection Direction { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Type: {0}, Sort: {1}, Direction: {2}", Type, Sort, Direction);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum RepositoryType
|
||||
|
||||
Reference in New Issue
Block a user