public void CreateNamespaceSection(FunctionalAnalysisReport report, NameSpace nameSpace,
                                    List <AccessMode> accesses)
 {
     report.CreateNameSpaceSection(nameSpace, accesses);
     foreach (NameSpace subNameSpace in nameSpace.NameSpaces)
     {
         CreateNamespaceSection(report, subNameSpace, accesses);
     }
 }
        public void CreateNamespaceSection(FunctionalAnalysisReport report, NameSpace nameSpace,
            List<AccessMode> accesses)
        {
            Log.Info("..generating name space " + nameSpace.Name);

            report.CreateNameSpaceSection(nameSpace, accesses);
            foreach (NameSpace subNameSpace in nameSpace.NameSpaces)
            {
                CreateNamespaceSection(report, subNameSpace, accesses);
            }
        }
        /// <summary>
        ///     Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override Document BuildDocument()
        {
            Document retVal = new Document();

            retVal.Info.Title   = "EFS Functional Analysis report";
            retVal.Info.Author  = "ERTMS Solutions";
            retVal.Info.Subject = "Functional Analysis report";

            FunctionalAnalysisReport report   = new FunctionalAnalysisReport(retVal);
            List <AccessMode>        accesses = IEnclosesNameSpacesUtils.getAccesses(EFSSystem, null);

            foreach (NameSpace nameSpace in Dictionary.NameSpaces)
            {
                CreateNamespaceSection(report, nameSpace, accesses);
            }

            return(retVal);
        }
        /// <summary>
        ///     Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override Document BuildDocument()
        {
            Document retVal = new Document();

            Log.Info("Generating functional analysis report");
            retVal.Info.Title = "EFS Functional Analysis report";
            retVal.Info.Author = "ERTMS Solutions";
            retVal.Info.Subject = "Functional Analysis report";

            FunctionalAnalysisReport report = new FunctionalAnalysisReport(retVal);
            List<AccessMode> accesses = IEnclosesNameSpacesUtils.getAccesses(EFSSystem, null);
            foreach (NameSpace nameSpace in Dictionary.NameSpaces)
            {
                CreateNamespaceSection(report, nameSpace, accesses);
            }

            return retVal;
        }