Esempio n. 1
0
 public CacheExtractionArguments(string out_dir, bool output_db, bool with_depns,
                                 bool overwrite_existing, TagInterface.TagGroupCollection dont_extract_groups)
 {
     OutputDirectory = out_dir;
     if (WithDependents = with_depns)            // yes, '='
     {
         OutputDatabase = output_db;
     }
     OverwriteExisting = overwrite_existing;
     DontExtractGroups = dont_extract_groups;
 }
Esempio n. 2
0
        /// <summary>
        /// Set the ignore tag group list for this tag index
        /// </summary>
        /// <param name="list"></param>
        /// <remarks>
        /// If any <see cref="TagInterface.TagGroup"/>s in <paramref name="list"/> have any children,
        /// they will be implicitly added to the 'ignore list'
        /// </remarks>
        public void SetupIgnoreList(params TagInterface.TagGroup[] list)
        {
            if (list.Length > 0)
            {
                List <TagInterface.TagGroup> others = new List <BlamLib.TagInterface.TagGroup>(list.Length);
                foreach (TagInterface.TagGroup tg in list)
                {
                    others.Add(tg);
                    if (tg.HasChildren)
                    {
                        others.AddRange(tg.Children);
                    }
                }

                ignoreList = new TagInterface.TagGroupCollection(false, others.ToArray());
            }
        }
Esempio n. 3
0
		public CacheExtractionArguments(string out_dir, bool output_db, bool with_depns, 
			bool overwrite_existing, TagInterface.TagGroupCollection dont_extract_groups)
		{
			OutputDirectory = out_dir;
			if(WithDependents = with_depns) // yes, '='
				OutputDatabase = output_db;
			OverwriteExisting = overwrite_existing;
			DontExtractGroups = dont_extract_groups;
		}