public override Dictionary <string, object> SaveToDict() { var dict = new Dictionary <string, object>(); dict.Add(GDMConstants.SchemaKey, "Arkusz1"); dict.Merge(true, Question.ToGDEDict(QuestionKey)); dict.Merge(true, AnswerA.ToGDEDict(AnswerAKey)); dict.Merge(true, AnswerB.ToGDEDict(AnswerBKey)); dict.Merge(true, AnswerC.ToGDEDict(AnswerCKey)); dict.Merge(true, AnswerD.ToGDEDict(AnswerDKey)); dict.Merge(true, CorrectAns.ToGDEDict(CorrectAnsKey)); return(dict); }
public override Dictionary <string, object> SaveToDict() { var dict = new Dictionary <string, object>(); dict.Add(GDMConstants.SchemaKey, "Missions"); dict.Merge(true, FirstCard.ToGDEDict(FirstCardKey)); dict.Merge(true, Fight.ToGDEDict(FightKey)); dict.Merge(true, MissionLevel.ToGDEDict(MissionLevelKey)); dict.Merge(true, MissionName.ToGDEDict(MissionNameKey)); dict.Merge(true, MissionDescription.ToGDEDict(MissionDescriptionKey)); dict.Merge(true, NextCard.ToGDEDict(NextCardKey)); dict.Merge(true, AnswerA.ToGDEDict(AnswerAKey)); dict.Merge(true, AnswerB.ToGDEDict(AnswerBKey)); dict.Merge(true, AnswerC.ToGDEDict(AnswerCKey)); dict.Merge(true, AnswerD.ToGDEDict(AnswerDKey)); return(dict); }