}//end AbstractCriteria() /// <summary> /// The copy constructor for abstract criteria /// </summary> /// <param name="CriteriaIn"> The Criteria object to be copied </param> public AbstractCriteria(AbstractCriteria CriteriaIn) { this.Status = CriteriaIn.Status; this.Description = CriteriaIn.Description; this.DisplayOrder = CriteriaIn.DisplayOrder; this.Type = CriteriaIn.Type; }//end AbstractCriteria(AbstractCriteria)
}//end Add(AbstractCriteria) public override void Remove(AbstractCriteria Criteria) { throw new InvalidOperationException(); }//end Remove(AbstractCriteria)
}//end Add(AbstractCriteria) public override void Remove(AbstractCriteria Criteria) { CriteriaList.Remove(Criteria); }//end Remove(AbstractCriteria)
}//end Criterion(String String String String) : Base (String String) #region Necessary Overrides public override void Add(AbstractCriteria Criteria) { CriteriaList.Add(Criteria); }//end Add(AbstractCriteria)
/// <summary> /// Template method to remove a Criteria from the tree /// </summary> /// <param name="Criteria"> The Criteria to remove </param> public abstract void Remove(AbstractCriteria Criteria);
}//end GetType() /// <summary> /// Abstract method to add a Criteria to the tree /// </summary> /// <param name="Criteria"> The Criteria to add </param> public abstract void Add(AbstractCriteria Criteria);
}//end Concentration() /// <summary> /// Copy Constructor for concentration /// </summary> /// <param name="ConcentrationIn"></param> public Concentration(Concentration ConcentrationIn) { this.Criteria = new Criteria(ConcentrationIn.Criteria.GetStatus(), ConcentrationIn.Criteria.GetDescription(), ConcentrationIn.Criteria.GetDisplayOrder(), ConcentrationIn.Criteria.GetCriteriaType()); this.Courses = new Courses(ConcentrationIn.Courses.GetId(), ConcentrationIn.Courses.GetName(), ConcentrationIn.Courses.GetStatus()); this.Description = ConcentrationIn.Description; }//end Concentration(ConcentrationIn)