コード例 #1
0
 /// <summary>
 /// Upgrades from xml.
 /// </summary>
 /// <param name="file">Configuration file</param>
 /// <param name="inner"></param>
 /// <returns></returns>
 private ISolutionEvents _xmlTryUpgrade(string file, Newtonsoft.Json.JsonException inner)
 {
     try {
         ISolutionEvents ret = Upgrade.v08.Migration08_09.migrate(file);
         Log.Info("Successfully upgraded settings. *Save manually! :: -> {0}", Entity.NAME);
         return(ret);
     }
     catch (Exception ex) {
         Log.Error("Incorrect configuration data: '{0}' -> '{1}'. Initialize new.", inner.Message, ex.Message);
     }
     return(new SolutionEvents());
 }
コード例 #2
0
 public void TestDependancyOnMultilevelProject()
 {
     var x = new Newtonsoft.Json.JsonException("KKKK");
 }