public string GetEmailBody(string templateName, FogBugzCase selectedCase)
 {
     string emailBody = null;
     if (templateName == null)
     {
         throw new ArgumentNullException("templateName");
     }
     var parser = new FileSystemTemplateLoader();
     emailBody = parser.LoadTemplate(templateName, null, selectedCase);
     return emailBody;
 }
Beispiel #2
0
        public string GetEmailBody(string templateName, FogBugzCase selectedCase)
        {
            string emailBody = null;

            if (templateName == null)
            {
                throw new ArgumentNullException("templateName");
            }
            var parser = new FileSystemTemplateLoader();

            emailBody = parser.LoadTemplate(templateName, null, selectedCase);
            return(emailBody);
        }