Example #1
0
        public static T Load(Stream stream)
        {
            T setting = SettingsHelper.Load <T>(stream, SerializationType);

            return(setting);
        }
Example #2
0
 public bool Save(string filePath)
 {
     FilePath           = filePath;
     ApplicationVersion = Application.ProductVersion;
     return(SettingsHelper.Save(this, FilePath, SerializationType));
 }
Example #3
0
 public void Save(Stream stream)
 {
     SettingsHelper.Save(this, stream, SerializationType);
 }