/// <summary> /// Loads and returns saved Assessment scores for the Person. /// </summary> /// <param name="person">The Person to get the scores for.</param> /// <returns>AssessmentResults</returns> static public AssessmentResults LoadSavedAssessmentResults(Person person) { AssessmentResults savedScores = new AssessmentResults(); person.LoadAttributes(); savedScores.DominantGifts = person.GetAttributeValues(ATTRIBUTE_DOMINANT_GIFTS).AsGuidList(); savedScores.SupportiveGifts = person.GetAttributeValues(ATTRIBUTE_SUPPORTIVE_GIFTS).AsGuidList(); savedScores.OtherGifts = person.GetAttributeValues(ATTRIBUTE_OTHER_GIFTS).AsGuidList(); savedScores.LastSaveDate = person.GetAttributeValue(ATTRIBUTE_LAST_SAVE_DATE).AsDateTime(); return(savedScores); }