public SourceSetIgnoreList Get(SourceSetType type) { SourceSetIgnoreList ignoreList; if (!ignoreLists.TryGetValue(type, out ignoreList)) { ignoreList = new SourceSetIgnoreList(); ignoreLists.Add(type, ignoreList); } return(ignoreList); }
/// <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; }