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