Exemplo n.º 1
0
        public SourceSetIgnoreList Get(SourceSetType type)
        {
            SourceSetIgnoreList ignoreList;

            if (!ignoreLists.TryGetValue(type, out ignoreList))
            {
                ignoreList = new SourceSetIgnoreList();
                ignoreLists.Add(type, ignoreList);
            }

            return(ignoreList);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates an empty source set
        /// </summary>
        /// <param name="type">Type of sources in this set</param>
        public SourceSet(SourceSetType type)
        {
            Contract.Requires(type != null);

            this.type = type;
        }