public ProgramInfoXml(SymbolExtract symbolExtract)
 {
     this.m_model                    = new ProgramInfoModel();
     this.m_middlewareXml            = new MiddlewareXml(symbolExtract.GetMiddlewareInfos());
     this.m_model.MiddlewareListData = this.m_middlewareXml.m_middlewareList;
     this.m_debugApiXml              = new DebugApiXml(symbolExtract.GetDebugApiInfos());
     this.m_model.DebugApiListData   = this.m_debugApiXml.m_debugApiList;
     this.m_apiXml                   = new ApiXml();
     this.m_model.ApiListData        = this.m_apiXml.m_apiList;
 }
 public ProgramInfoXml(List <ProgramInfoXml> xmlList)
 {
     this.m_model         = new ProgramInfoModel();
     this.m_middlewareXml = new MiddlewareXml();
     this.m_debugApiXml   = new DebugApiXml();
     this.m_apiXml        = new ApiXml();
     foreach (ProgramInfoXml xml in xmlList)
     {
         this.m_middlewareXml.m_middlewareList.Entries.AddRange((IEnumerable <MiddlewareModel>)xml.m_middlewareXml.m_middlewareList.Entries);
         this.m_debugApiXml.m_debugApiList.Entries.AddRange((IEnumerable <DebugApiModel>)xml.m_debugApiXml.m_debugApiList.Entries);
         this.m_apiXml.m_apiList.Entries.AddRange((IEnumerable <ApiModel>)xml.m_apiXml.m_apiList.Entries);
     }
     this.m_model.MiddlewareListData = this.m_middlewareXml.m_middlewareList;
     this.m_model.DebugApiListData   = this.m_debugApiXml.m_debugApiList;
     this.m_model.ApiListData        = this.m_apiXml.m_apiList;
 }