public SampleSettingsViewModel(IDictionary <string, object> dictionary)
 {
     Name                 = GetDictionaryEntry <string>(dictionary, "Name");
     BirthDate            = GetDictionaryEntry(dictionary, "BirthDate", new DateTime(1980, 1, 1));
     CodesInCSharp        = GetDictionaryEntry <bool>(dictionary, "CodesInCSharp");
     NumberOfCopies       = GetDictionaryEntry(dictionary, "NumberOfCopies", 1.0);
     BackgroundNamedColor = NamedColor.Find(GetDictionaryEntry(dictionary, "BackgroundNamedColor", "White"));
 }