예제 #1
0
 public CalenderController(IHoldCRUD holdCRUD, ICalenderCRUD calenderCRUD, IPersonState personState, ICalenderDateManager calenderDateManager)
 {
     this.holdCRUD            = holdCRUD;
     this.calenderCRUD        = calenderCRUD;
     this.personState         = personState;
     this.calenderDateManager = calenderDateManager;
 }
예제 #2
0
 public TimeslotCrud(IPersonState personState, ITimeslotCommand timeslotCommand, ITimeslotQuery timeslotQuery, ITeacherQuery teacherQuery)
 {
     this.personState     = personState;
     this.timeslotQuery   = timeslotQuery;
     this.timeslotCommand = timeslotCommand;
     this.teacherQuery    = teacherQuery;
 }
예제 #3
0
 public BookTimeslot(IPersonState state, IStudentQuery studentQuery, IBookingCommand bookingCommand, ITimeslotQuery timeslotQuery, ITimeslotCommand timeslotCommand)
 {
     this.state           = state;
     this.studentQuery    = studentQuery;
     this.bookingCommand  = bookingCommand;
     this.timeslotQuery   = timeslotQuery;
     this.timeslotCommand = timeslotCommand;
 }
        public IPersonState Get(string id)
        {
            IPersonState state = CurrentSession.Get <PersonState>(id);

            if (ReadOnlyProxyGenerator != null && state != null)
            {
                return(ReadOnlyProxyGenerator.CreateProxy <IPersonState>(state, new Type[] {  }, _readOnlyPropertyNames));
            }
            return(state);
        }
예제 #5
0
 public void Apply(IPersonState state)
 {
     state.LastName = this.LastName;
 }
예제 #6
0
 public void Apply(IPersonState state)
 {
 }
예제 #7
0
 public void Apply(IPersonState state)
 {
     state.FirstName = this.FirstName;
     state.LastName = this.LastName;
     state.Gender = this.Gender;
 }
 public void Apply(IPersonState state)
 {
     state.IsMarried = true;
 }
예제 #9
0
 public void Apply(IPersonState state)
 {
     state.LastName = this.LastName;
 }
예제 #10
0
 public void Apply(IPersonState state)
 {
     state.IsMarried = true;
 }
예제 #11
0
 public void Apply(IPersonState state)
 {
     state.FirstName = this.FirstName;
     state.LastName  = this.LastName;
     state.Gender    = this.Gender;
 }
 public PersonController(IPersonCRUD personCRUD, IPersonState personState)
 {
     this.personCRUD  = personCRUD;
     this.personState = personState;
 }
예제 #13
0
 public PersonStateDtoWrapper(IPersonState state)
 {
     this._state = state;
 }
예제 #14
0
 public PersonStateDtoWrapper()
 {
     this._state = new PersonState();
 }
예제 #15
0
 public void Apply(IPersonState state)
 {
 }
예제 #16
0
 public Person(IPersonState p)
 {
     this.state = p;
 }