public void Charge() { Serializator serializator = new Serializator() { }; _instance = serializator.DeSerializeObject <Parameters>("objet.xml"); }
public void Sav() { Serializator serializator = new Serializator() { }; serializator.SerializeObject <Parameters>(this, "objet.xml"); }
public static Parameters Instance() { if (_instance == null) { _instance = new Parameters(); Serializator serializator = new Serializator(); _instance = serializator.DeSerializeObject <Parameters>("objet.xml"); } return(_instance); }