Ejemplo n.º 1
0
 public GitTag(string url, string label, string @ref, string sha, User user, Repository repository, string tag, string message, SignatureResponse tagger, TagObject objectVar)
     : base(url, label, @ref, sha, user, repository)
 {
     Tag = tag;
     Message = message;
     Tagger = tagger;
     Object = objectVar;
 }
Ejemplo n.º 2
0
 public GitTag(string url, string label, string @ref, string sha, User user, Repository repository, string tag, string message, SignatureResponse tagger, TagObject objectVar)
     : base(url, label, @ref, sha, user, repository)
 {
     Tag     = tag;
     Message = message;
     Tagger  = tagger;
     Object  = objectVar;
 }
Ejemplo n.º 3
0
 public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, SignatureResponse author, SignatureResponse committer, GitReference tree, IEnumerable <GitReference> parents, int commentCount)
     : base(url, label, @ref, sha, user, repository)
 {
     Message      = message;
     Author       = author;
     Committer    = committer;
     Tree         = tree;
     Parents      = parents;
     CommentCount = commentCount;
 }
Ejemplo n.º 4
0
 public PullRequestCommit(SignatureResponse author, Uri commentsUrl, Commit commit, SignatureResponse committer, Uri htmlUrl, IEnumerable <GitReference> parents, string sha, Uri url)
 {
     Author      = author;
     CommentsUrl = commentsUrl;
     Commit      = commit;
     Committer   = committer;
     HtmlUrl     = htmlUrl;
     Parents     = parents;
     Sha         = sha;
     Url         = url;
 }
Ejemplo n.º 5
0
        public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, SignatureResponse author, SignatureResponse committer, GitReference tree, IEnumerable <GitReference> parents, int commentCount)
            : base(url, label, @ref, sha, user, repository)
        {
            Ensure.ArgumentNotNull(parents, "parents");

            Message      = message;
            Author       = author;
            Committer    = committer;
            Tree         = tree;
            Parents      = new ReadOnlyCollection <GitReference>(parents.ToList());
            CommentCount = commentCount;
        }
Ejemplo n.º 6
0
        public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, SignatureResponse author, SignatureResponse committer, GitReference tree, IEnumerable<GitReference> parents, int commentCount)
            : base(url, label, @ref, sha, user, repository)
        {
            Ensure.ArgumentNotNull(parents, "parents");

            Message = message;
            Author = author;
            Committer = committer;
            Tree = tree;
            Parents = new ReadOnlyCollection<GitReference>(parents.ToList());
            CommentCount = commentCount;
        }
Ejemplo n.º 7
0
        public PullRequestCommit(SignatureResponse author, Uri commentsUrl, Commit commit, SignatureResponse committer, Uri htmlUrl, IEnumerable <GitReference> parents, string sha, Uri url)
        {
            Ensure.ArgumentNotNull(parents, "parents");

            Author      = author;
            CommentsUrl = commentsUrl;
            Commit      = commit;
            Committer   = committer;
            HtmlUrl     = htmlUrl;
            Parents     = new ReadOnlyCollection <GitReference>(parents.ToList());
            Sha         = sha;
            Url         = url;
        }