コード例 #1
0
        /// <summary>
        ///     Ändert den Status der Teilnahme.
        /// </summary>
        /// <param name="participationState"></param>
        public virtual void UpdateStatus(PeanutParticipationState participationState, EntityChangedDto entityChanged)
        {
            Require.NotNull(entityChanged, "entityChanged");

            _participationState = participationState;

            Update(entityChanged);
        }
コード例 #2
0
 public PeanutParticipationDto(PeanutParticipationType participationType, PeanutParticipationState participationState)
 {
     ParticipationType  = participationType;
     ParticipationState = participationState;
 }
コード例 #3
0
 private void Update(PeanutParticipationDto participationDto)
 {
     _participationType  = participationDto.ParticipationType;
     _participationState = participationDto.ParticipationState;
 }