/// <summary> /// Deserialization constructor /// </summary> /// <param name="serial"></param> internal SimpleScheduleEntry(SerializableSimpleScheduleEntry serial) { m_startDate = serial.StartDateTime; m_endDate = serial.EndDateTime; m_title = serial.Title; m_options = serial.Options; }
/// <summary> /// Exports the data to a serialization object. /// </summary> /// <returns></returns> internal override SerializableScheduleEntry Export() { SerializableSimpleScheduleEntry serial = new SerializableSimpleScheduleEntry(); serial.StartDateTime = m_startDate; serial.EndDateTime = m_endDate; serial.Title = m_title; serial.Options = m_options; return serial; }