Added property 'Files' in 'CompareResult.Class' and Added argument

This commit is contained in:
pingoli777
2015-02-04 08:45:17 +09:00
parent 68c4c98270
commit 4c4590df6b
+2 -1
View File
@@ -10,7 +10,7 @@ namespace Octokit
{
public CompareResult() { }
public CompareResult(string url, string htmlUrl, string permalinkUrl, string diffUrl, string patchUrl, GitHubCommit baseCommit, GitHubCommit mergedBaseCommit, string status, int aheadBy, int behindBy, int totalCommits, IReadOnlyList<GitHubCommit> commits)
public CompareResult(string url, string htmlUrl, string permalinkUrl, string diffUrl, string patchUrl, GitHubCommit baseCommit, GitHubCommit mergedBaseCommit, string status, int aheadBy, int behindBy, int totalCommits, IReadOnlyList<GitHubCommit> commits, IReadOnlyList<GitHubCommitFile> files)
{
Url = url;
HtmlUrl = htmlUrl;
@@ -24,6 +24,7 @@ namespace Octokit
BehindBy = behindBy;
TotalCommits = totalCommits;
Commits = commits;
Files = files;
}
public string Url { get; protected set; }