Exemple #1
0
        }//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)
Exemple #2
0
        }//end Add(AbstractCriteria)

        public override void Remove(AbstractCriteria Criteria)
        {
            throw new InvalidOperationException();
        }//end Remove(AbstractCriteria)
Exemple #3
0
        }//end Add(AbstractCriteria)

        public override void Remove(AbstractCriteria Criteria)
        {
            CriteriaList.Remove(Criteria);
        }//end Remove(AbstractCriteria)
Exemple #4
0
        }//end Criterion(String String String String) : Base (String String)

        #region Necessary Overrides
        public override void Add(AbstractCriteria Criteria)
        {
            CriteriaList.Add(Criteria);
        }//end Add(AbstractCriteria)
Exemple #5
0
 /// <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);
Exemple #6
0
        }//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);
Exemple #7
0
        }//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)