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

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