コード例 #1
0
 /// <summary>
 /// Assigns an issue to the automatic assignee or removes the assignee entirely.
 /// </summary>
 /// <param name="issue">The issue to make the assignment for.</param>
 /// <param name="assignee">The special assignee type.</param>
 public void AssignTo(Issue issue, SpecialAssignee assignee)
 {
     var user = assignee == SpecialAssignee.Automatic ? "-1" : null;
     AssignTo(issue, user);
 }
コード例 #2
0
        /// <summary>
        /// Assigns an issue to the automatic assignee or removes the assignee entirely.
        /// </summary>
        /// <param name="issue">The issue to make the assignment for.</param>
        /// <param name="assignee">The special assignee type.</param>
        public void AssignTo(Issue issue, SpecialAssignee assignee)
        {
            var user = assignee == SpecialAssignee.Automatic ? "-1" : null;

            AssignTo(issue, user);
        }