Пример #1
0
        }//end CompareTo(User)

        /// <summary>
        /// Parameterized constructor
        /// </summary>
        /// <param name="idIn"></param>
        /// <param name="emailIn"></param>
        /// <param name="passwordIn"></param>
        /// <param name="TypeIn"></param>
        public User(int idIn, string emailIn, string passwordIn, UserType TypeIn, int cutoffIn)
        {
            this.id           = idIn;
            this.email        = emailIn;
            this.password     = passwordIn;
            this.type         = TypeIn;
            this.AppsToReview = new ToDoQueue();
        }//end User(int, string, string, UserType)
Пример #2
0
        }//end ToDoQueue(Queue<GradApplication>, QueueIn, int)

        public ToDoQueue(ToDoQueue QueueIn)
        {
            this.ToDo       = new Queue <GradApplication>(QueueIn.ToDo);
            this.cutoff     = QueueIn.cutoff;
            this.QueueTotal = QueueIn.QueueTotal;
        }//end ToDoQueue(QueueIn)