//***************************************************************************
        // Public Methods
        //
        public object Clone()
        {
            ScheduleParamsCollection newList = new ScheduleParamsCollection();

            for (int i = 0; i < this.Count; i++)
            {
                newList.Add(this[i].Clone() as ScheduleParams, string.Empty);
            }
            return(newList);
        }
Ejemplo n.º 2
0
        //***************************************************************************
        // Private Methods
        //
        private ScheduleParamsCollection ParseSchedArray(ScheduleParams[] schedParams)
        {
            ScheduleParamsCollection newParams = new ScheduleParamsCollection();

            if (schedParams.Length > 0)
            {
                for (int i = 0; i < schedParams.Length; i++)
                {
                    newParams.Add(schedParams[i]);
                }
            }
            return(newParams);
        }