public static void Load(string filename)
 {
     instance = ConfigManager.LoadConfig <TeleStorageData>(Assembly.GetExecutingAssembly().Location, Path.GetFileName(filename));
     if (instance == null)
     {
         instance = new TeleStorageData();
     }
 }
Example #2
0
 public static void Postfix(string filename)
 {
     Console.WriteLine("Consumed save event");
     TeleStorageData.Save(filename);
 }