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