public LifeStyleDescriptionController(object obj)
 {
     list = obj as LifeList;
     mealPlan = list.mealPlan;
     exercisePlan = list.exercisePlan;
     title = list.name;
     imageFixedPath = list.imageFixedPath;
     description = list.description;
     mealDuration = "Cooking Time   " + list.mealDuration;
     workoutDuration = "Workout Time   " + list.exerciseDuration;
 }
Exemple #2
0
 override public void Initialize()
 {
     mealPlan = new MealPlan(mealList);
     exercisePlan = new ExercisePlan(exerciseList);
 }