File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ public sealed class TfsPullRequest
25
25
private readonly RepositoryDescription repositoryDescription ;
26
26
private readonly GitPullRequest pullRequest ;
27
27
28
+ /// <summary>
29
+ /// Initializes a new instance of the <see cref="TfsPullRequest"/> class.
30
+ /// </summary>
31
+ /// <param name="log">The Cake log context.</param>
32
+ /// <param name="settings">Settings for accessing TFS.</param>
33
+ /// <exception cref="TfsPullRequestNotFoundException">If <see cref="TfsPullRequestSettings.ThrowExceptionIfPullRequestCouldNotBeFound"/>
34
+ /// is set to <c>true</c> and no pull request could be found.</exception>
35
+ public TfsPullRequest ( ICakeLog log , TfsPullRequestSettings settings )
36
+ : this ( log , settings , new GitClientFactory ( ) )
37
+ {
38
+ }
39
+
28
40
/// <summary>
29
41
/// Initializes a new instance of the <see cref="TfsPullRequest"/> class.
30
42
/// </summary>
You can’t perform that action at this time.
0 commit comments