public virtual bool Save(string filePath)
 {
     return(SettingsHelper.Save(this, filePath, SerializationType.Xml));
 }
Exemple #2
0
        public static T Load(Stream stream)
        {
            T setting = SettingsHelper.Load <T>(stream, SerializationType);

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