public IssueUpdate(Issue issue, string status, string comment) { if (issue == null) throw new ArgumentNullException("issue"); Issue = issue; _status = status; _comment = comment; }
public static IProperty<Issue> GetPropertyByField(Issue.IssueField field) { var index = (int) field; if (index < 0 || index >= Properties.Count) throw new ArgumentOutOfRangeException("field", field, null); return Properties[index]; }
public IssueUpdate(Issue issue) : this(issue, null, null) {}
internal void GeneratorSubItems(ListViewItem<Issue> item, Issue issue) { var subItems = item.SubItems; subItems.Add(issue.Type); subItems.Add(issue.Status); subItems.Add(issue.Priority); subItems.Add(issue.Owner); subItems.Add(issue.Summary); }