/// <summary> /// Creates a filter for the specified <paramref name="schemaNames"/>, with the /// default filtering behavior to remove objects with the given schema names. /// </summary> public SchemaBasedFilter(ModelCollationComparer collationComparer, IList <string> schemaNames) { if (collationComparer == null) { throw new ArgumentNullException("collationComparer"); } _collationComparer = collationComparer; _schemaNames = new HashSet <string>(schemaNames); Filtering = FilterType.Exclude; }
/// <summary> /// Creates a filter for the specified <paramref name="schemaNames"/>, with the /// default filtering behavior to remove objects with the given schema names. /// </summary> public SchemaBasedFilter(ModelCollationComparer collationComparer, params string[] schemaNames) : this(collationComparer, (IList <string>)schemaNames) { }