Ejemplo n.º 1
0
        public void register(IHomeWorkModel model, int studentId)
        {
            this.model     = model;
            this.studentId = studentId;


            model.addWatcher(viewUpdated, DataKeys.getUserKey(studentId));
        }
        public void register(IHomeWorkModel model, ModelUser user, string classRoomName)
        {
            this.model         = model;
            this.user          = user;
            this.classRoomName = classRoomName;

            model.addWatcher(viewUpdated, this.getUserDataKey());
        }
Ejemplo n.º 3
0
        public void register(IHomeWorkModel model, int teacherId)
        {
            this.model     = model;
            this.teacherId = teacherId;


            model.addWatcher(viewUpdated, this.getTeacherDataKey());
        }