Example #1
0
 public GitTag(string nodeId, string url, string label, string @ref, string sha, User user, Repository repository, string tag, string message, Committer tagger, TagObject @object, Verification verification)
     : base(nodeId, url, label, @ref, sha, user, repository)
 {
     Tag          = tag;
     Message      = message;
     Tagger       = tagger;
     Object       = @object;
     Verification = verification;
 }
Example #2
0
        public Commit(string nodeId, string url, string label, string @ref, string sha, User user, Repository repository, string message, Committer author, Committer committer, GitReference tree, IEnumerable <GitReference> parents, int commentCount, Verification verification)
            : base(nodeId, url, label, @ref, sha, user, repository)
        {
            Ensure.ArgumentNotNull(parents, nameof(parents));

            Message      = message;
            Author       = author;
            Committer    = committer;
            Tree         = tree;
            Parents      = new ReadOnlyCollection <GitReference>(parents.ToList());
            CommentCount = commentCount;
            Verification = verification;
        }