예제 #1
0
 private void HandleSchedaDoc(SchedaDocumento schedaDoc, CMMsg mail)
 {
     if (_template != null)
     {
         bool validMail = _processor.IsValidMail(mail);
         if (!validMail)
         {
             logger.Debug("Mail non valida");
             return;
         }
         logger.Debug("Aggiunta template " + _template.DESCRIZIONE);
         schedaDoc.template                  = _template;
         schedaDoc.tipologiaAtto             = new TipologiaAtto();
         schedaDoc.tipologiaAtto.descrizione = _template.DESCRIZIONE;
         schedaDoc.tipologiaAtto.systemId    = _template.SYSTEM_ID.ToString();
     }
     else
     {
         logger.Debug("Template nullo");
     }
 }
예제 #2
0
 public void CustomizeSchedaDocSegnatura(SchedaDocumento schedaDoc, CMMsg mail, string filePath)
 {
     HandleSchedaDoc(schedaDoc, mail);
 }