Exemple #1
0
        public void CopyProperties(QnSHolidayCalendar.Contracts.Persistence.App.ICalendarEntry other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id           = other.Id;
                Timestamp    = other.Timestamp;
                Date         = other.Date;
                HolidayGroup = other.HolidayGroup;
                Location     = other.Location;
                Description  = other.Description;
                Note         = other.Note;
                Type         = other.Type;
            }
            AfterCopyProperties(other);
        }
 partial void OnHolidayTypeChanging(ref bool handled, ref QnSHolidayCalendar.Contracts.Modules.App.HolidayType _holidayType);