public override void Serialize(Stream stream) { base.Serialize(stream); GarminFitnessGuid linkedWorkoutId = new GarminFitnessGuid(LinkedWorkout.Id); linkedWorkoutId.Serialize(stream); m_WorkoutStepsCopy.Serialize(stream); }
public void Deserialize_V14(Stream stream, DataVersion version) { base.Deserialize(typeof(IStep), stream, version); GarminFitnessGuid linkedWorkoutId = new GarminFitnessGuid(); linkedWorkoutId.Deserialize(stream, version); m_LinkedWorkout = GarminWorkoutManager.Instance.GetWorkout(linkedWorkoutId); }