示例#1
0
 /// <summary>
 /// Add new module to report.
 /// Set this module as current
 /// </summary>
 public void AddModule(ModuleEntry newModule)
 {
     Modules.Add(newModule);
     _currentModule = newModule;
 }
示例#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);
        }