Exemple #1
0
 /// <summary>
 /// Construct a <see cref="TestMergeBase"/> from a <paramref name="copy"/>
 /// </summary>
 /// <param name="copy"></param>
 protected TestMergeBase(TestMergeBase copy)
 {
     if (copy == null)
     {
         throw new ArgumentNullException(nameof(copy));
     }
     Author              = copy.Author;
     BodyAtMerge         = copy.BodyAtMerge;
     Comment             = copy.Comment;
     Number              = copy.Number;
     PullRequestRevision = copy.PullRequestRevision;
     TitleAtMerge        = copy.TitleAtMerge;
     Url = copy.Url;
 }
 /// <summary>
 /// Construct a <see cref="TestMergeBase"/> from a <paramref name="copy"/>
 /// </summary>
 /// <param name="copy">The <see cref="TestMergeBase"/> to copy data from</param>
 protected TestMergeBase(TestMergeBase copy)
 {
     if (copy == null)
     {
         throw new ArgumentNullException(nameof(copy));
     }
     Author          = copy.Author;
     BodyAtMerge     = copy.BodyAtMerge;
     Comment         = copy.Comment;
     Number          = copy.Number;
     TargetCommitSha = copy.TargetCommitSha;
     TitleAtMerge    = copy.TitleAtMerge;
     Url             = copy.Url;
 }