コード例 #1
0
ファイル: MyFastReport.cs プロジェクト: jumppard/CNWP1
 private void Init(XElement xmlForFastReport, string fastReportTemplateLocation, string fastReportTemplateName, ExportedFileNameBuilder fileNameBuilder)
 {
     m_xmlForfastReport           = xmlForFastReport;
     m_fastReportTemplateLocation = fastReportTemplateLocation;
     m_fastReportTemplateName     = fastReportTemplateName;
     m_destinationFilePath        = "";
     m_fileNameBuilder            = fileNameBuilder;
 }
コード例 #2
0
 private void Init(KeyValuePair <string, Dictionary <string, string> > exportSubject, TestWebApp.DataAccessLayer.CardnetDAL db)
 {
     m_exportSubject   = exportSubject;
     m_dbEngine        = db;
     m_fileNameBuilder = new ExportedFileNameBuilder(destinationPath: exportSubject.Value["dstPath"].ToString(), partnerName: exportSubject.Value["partnerName"].ToString(), cardOrderId: exportSubject.Value["cardOrderId"].ToString(), environment: exportSubject.Value["environment"].ToString());
     if (exportSubject.Key == "carrier")
     {
         m_carriersExportEngine = new CarriersExportEngine(oldXml: XElement.Parse(exportSubject.Value["oldXml"].ToString()), xmlForFastReport: XElement.Parse(exportSubject.Value["xmlForFastReport"].ToString()));
     }
     else if (exportSubject.Key == "delivery_list")
     {
         // TODO do buducna
     }
 }
コード例 #3
0
ファイル: MyFastReport.cs プロジェクト: jumppard/CNWP1
 public MyFastReport(XElement xmlForFastReport, string fastReportTemplateLocation, string fastReportTemplateName, ExportedFileNameBuilder fileNameBuilder)
 {
     Init(xmlForFastReport, fastReportTemplateLocation, fastReportTemplateName, fileNameBuilder);
 }