public static void CopyQuizData(this Fragments.IQuiz dest, Fragments.IQuiz copy_data) { dest.word = copy_data.word; dest.mean = copy_data.mean; dest.sound_path = copy_data.sound_path; dest.IsDownloaded = copy_data.IsDownloaded; }
public static void InitQuizData(this Fragments.IQuiz quiz) { quiz.word = null; quiz.mean = null; quiz.sound_path = null; quiz.IsDownloaded = false; }