コード例 #1
0
        public void Remove(int hookId)
        {
            var repo = new Repo {
                BasePath = BasePath,
                HookId = hookId
            };

            repo.Remove();
        }
コード例 #2
0
        public void Create(string repoName, int hookId, string branch)
        {
            var repo = new Repo {
                BasePath = BasePath,
                RepoName = repoName,
                HookId = hookId,
                Branch = branch
            };

            repo.Create();
        }