mirror of
https://github.com/Orbmu2k/nvidiaProfileInspector.git
synced 2025-12-23 23:18:07 -05:00
31 lines
907 B
C#
31 lines
907 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using nspector.Common.Helper;
|
|
|
|
namespace nspector.Common.CustomSettings
|
|
{
|
|
[Serializable]
|
|
public class CustomSettingNames
|
|
{
|
|
public bool ShowCustomizedSettingNamesOnly = false;
|
|
|
|
public List<CustomSetting> Settings = new List<CustomSetting>();
|
|
|
|
public void StoreToFile(string filename)
|
|
{
|
|
XMLHelper<CustomSettingNames>.SerializeToXmlFile(this, filename, Encoding.Unicode, true);
|
|
}
|
|
|
|
public static CustomSettingNames FactoryLoadFromFile(string filename)
|
|
{
|
|
return XMLHelper<CustomSettingNames>.DeserializeFromXMLFile(filename);
|
|
}
|
|
|
|
public static CustomSettingNames FactoryLoadFromString(string xml)
|
|
{
|
|
return XMLHelper<CustomSettingNames>.DeserializeFromXmlString(xml);
|
|
}
|
|
}
|
|
}
|