/// <summary>
 /// Add new module to report.
 /// Set this module as current
 /// </summary>
 public void AddModule(ModuleEntry newModule)
 {
     Modules.Add(newModule);
     _currentModule = newModule;
 }
Example #2
0
        /// <summary>
        /// Adds new module to report
        /// </summary>
        public override void VisitModule(ModuleDefinition moduleDef, Context context)
        {
            var module = new ModuleEntry(context.CurrentModuleId, moduleDef.Name, moduleDef.Assembly.Name.Name, moduleDef.Assembly.Name.FullName);

            context.ReportBuilder.AddModule(module);
        }