예제 #1
0
파일: TradosLib.cs 프로젝트: PavelPZ/NetNew
 public static LocCfg Instance() {
   if (instance == null) {
     var fn = HostingEnvironment.ApplicationPhysicalPath + "app_data/Trados.xml";
     if (!File.Exists(fn)) fn = @"d:\LMCom\rew\Web4\App_Data\Trados.xml";
     instance = (LocCfg)XmlUtils.FileToObject(fn, typeof(LocCfg));
   }
   return instance;
 }
예제 #2
0
파일: TradosLib.cs 프로젝트: PavelPZ/NetNew
 public static void Refresh() {
   instance = null;
 }