Ejemplo n.º 1
0
 public LogMailerJob(IMailMan mailMan, IDetectLogFiles logFileDetector, IConfigReader configReader)
 {
     Name = "Log Mailer";
      Logger = NLog.LogManager.GetCurrentClassLogger();
      MailMan = mailMan;
      InstructMailMan( configReader );
      LogMaster = new LogMaster(".\\xml\\mail-list.xml");
      LogFileDetector = logFileDetector;
 }
Ejemplo n.º 2
0
 public MediaMailerJob(IMailMan mailMan, IDetectLogFiles logFileDetector, IConfigReader configReader)
 {
    Name = "Media Mailer";
    Logger = NLog.LogManager.GetCurrentClassLogger();
    MailMan = mailMan;
    InstructMailMan( configReader );
    LogMaster = new LogMaster( mediaXmlFileName );
    LogFileDetector = logFileDetector;
 }
Ejemplo n.º 3
0
        public void TestLoad()
        {
            var lm = new LogMaster(".\\xml\\mail-list.xml");

             Assert.IsTrue( lm.TheHt.Count  > 0);
        }