示例#1
0
        /// <summary>
        /// Adds to the cache all of the data gathered in assembly scans
        /// </summary>
        public void AppendScanResults(IEnumerable <AssemblyScan> scans)
        {
            if (scans.Count() == 0)
            {
                return;
            }

            Util.Verbose("Appending types: \n" + GetTypeInfoOfScans(scans).ToIndentedJson());

            Types.AddCache(GetTypeInfoOfScans(scans));
            Hierachies.AddCache(GetHierarchyInfoOfScans(scans));
            Extensions.AddCache(GetExtensionsInfoOfScans(scans));

            Save();
        }