public static IgnoreList Create(Type type, params string[] names) { var ignore = new IgnoreList(); ignore.Add(type, names); return(ignore); }
public static IgnoreList Create(Dictionary <Type, string[]> ignoreList) { var ignore = new IgnoreList(); foreach (var map in ignoreList) { ignore.Add(map.Key, map.Value); } return(ignore); }