Пример #1
0
 public void LoadSettings()
 {
     MyAppSettings = ExtSerialization.XmlDeserializeFromFilePath<AppSettings>(ProfileFilePath);
     MyAppSettings.Profiles.CurrentProfile =
         (from profile in MyAppSettings.Profiles.ProfileList
          where profile.Uid == "default"
          select profile).FirstOrDefault();
 }
Пример #2
0
 public Settings()
 {
     MyAppSettings = new AppSettings();
 }