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

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