Beispiel #1
0
        public void Charge()
        {
            Serializator serializator = new Serializator()
            {
            };

            _instance = serializator.DeSerializeObject <Parameters>("objet.xml");
        }
Beispiel #2
0
        public void Sav()
        {
            Serializator serializator = new Serializator()
            {
            };

            serializator.SerializeObject <Parameters>(this, "objet.xml");
        }
Beispiel #3
0
 public static Parameters Instance()
 {
     if (_instance == null)
     {
         _instance = new Parameters();
         Serializator serializator = new Serializator();
         _instance = serializator.DeSerializeObject <Parameters>("objet.xml");
     }
     return(_instance);
 }