public AsyncObservableCollection <string> GetAllBugAssignedToValues() { AsyncObservableCollection <string> assignedToValues = new AsyncObservableCollection <string>(); assignedToValues.Add(Constants.c_All); AsyncObservableCollection <PlannerBugItem> bugs = new AsyncObservableCollection <PlannerBugItem>(); foreach (PlannerBugItem bug in bugs) { if (!assignedToValues.Contains(bug.BugAssignedTo)) { assignedToValues.Add(bug.BugAssignedTo); } } return(assignedToValues); }
//------------------------------------------------------------------------------------ /// <summary> /// Returns true if this property is in the collection of properties that have changed, /// and need to be saved to the server. /// </summary> //------------------------------------------------------------------------------------ public bool IsPropertyOnChangeList(ItemProperty property) { return(m_changedProperties.Contains(property)); }