public CalenderController(IHoldCRUD holdCRUD, ICalenderCRUD calenderCRUD, IPersonState personState, ICalenderDateManager calenderDateManager) { this.holdCRUD = holdCRUD; this.calenderCRUD = calenderCRUD; this.personState = personState; this.calenderDateManager = calenderDateManager; }
public TimeslotCrud(IPersonState personState, ITimeslotCommand timeslotCommand, ITimeslotQuery timeslotQuery, ITeacherQuery teacherQuery) { this.personState = personState; this.timeslotQuery = timeslotQuery; this.timeslotCommand = timeslotCommand; this.teacherQuery = teacherQuery; }
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); }
public void Apply(IPersonState state) { state.LastName = this.LastName; }
public void Apply(IPersonState state) { }
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; }
public PersonController(IPersonCRUD personCRUD, IPersonState personState) { this.personCRUD = personCRUD; this.personState = personState; }
public PersonStateDtoWrapper(IPersonState state) { this._state = state; }
public PersonStateDtoWrapper() { this._state = new PersonState(); }
public Person(IPersonState p) { this.state = p; }