Ejemplo n.º 1
0
 public static void Clear()
 {
     File.Delete(Path.Combine(PixevalEnvironment.ConfFolder, PixevalEnvironment.ConfigurationFileName));
     Global = new Identity();
 }
Ejemplo n.º 2
0
 public static async Task Restore()
 {
     Global = (await File.ReadAllTextAsync(Path.Combine(PixevalEnvironment.ConfFolder, PixevalEnvironment.ConfigurationFileName), Encoding.UTF8)).FromJson <Identity>();
 }
Ejemplo n.º 3
0
 public static void Clear()
 {
     File.Delete(Path.Combine(PixevalEnvironment.ConfFolder, "pixeval_conf.json"));
     Global = new Identity();
 }