Exemplo n.º 1
0
        public ProjectTriggerEditor CreateOrModify(string name, TriggerFilterResource filter, TriggerActionResource action)
        {
            var projectTriggerBuilder = new ProjectTriggerEditor(repository).CreateOrModify(owner, name, filter, action);

            trackedProjectTriggerBuilders.Add(projectTriggerBuilder);
            return(projectTriggerBuilder);
        }
Exemplo n.º 2
0
        public ProjectTriggerEditor CreateOrModify(string name, ProjectTriggerType type, params ProjectTriggerConditionEvent[] conditions)
        {
            var projectTriggerBuilder = new ProjectTriggerEditor(repository).CreateOrModify(owner, name, type, conditions);

            trackedProjectTriggerBuilders.Add(projectTriggerBuilder);
            return(projectTriggerBuilder);
        }