コード例 #1
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
     }
 }
コード例 #2
0
 public AppEngine(KeyValuePair <string, Dictionary <string, string> > exportSubject, TestWebApp.DataAccessLayer.CardnetDAL db)
 {
     Init(exportSubject, db);
 }