예제 #1
0
 public IridiumToMySQL()
 {
     string dir = System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
       log = LogFile.getLog(dir);
       log.DirectoryType = DirFileType.YearMonthDir;
       LogFile.MaxLogsInQueue = 10;
       log.FileSize = 1024;
       config = ConfigFile.getConfigFile();
       md = new MailsDatabase(dir);
 }
예제 #2
0
 public static ConfigFile getConfigFile()
 {
   try
   {
     string name = config.ConfigName;
   }
   catch (Exception)
   {
     config = new ConfigFile();
   }
   return config;
 }
예제 #3
0
 public void Dispose()
 {
     config = null;
       log = null;
 }