3 instantiations of FilteredCatalog
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (1)
107FilteredCatalog? complement = new FilteredCatalog(_innerCatalog, p => !_filter(p), this);
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (1)
72return new FilteredCatalog(_innerCatalog, traversalClosure.Contains);
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
140return new FilteredCatalog(catalog, filter);
17 references to FilteredCatalog
System.ComponentModel.Composition (17)
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (5)
18private FilteredCatalog? _complement; 23/// Initializes a new instance of the <see cref="FilteredCatalog"/> class. 32internal FilteredCatalog(ComposablePartCatalog catalog, Func<ComposablePartDefinition, bool> filter, FilteredCatalog? complement) 99public FilteredCatalog Complement 107FilteredCatalog? complement = new FilteredCatalog(_innerCatalog, p => !_filter(p), this);
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependenciesTraversal.cs (1)
20public DependenciesTraversal(FilteredCatalog catalog, Func<ImportDefinition, bool> importFilter)
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependentsTraversal.cs (1)
26public DependentsTraversal(FilteredCatalog catalog, Func<ImportDefinition, bool> importFilter)
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (9)
14/// Creates a new instance of the <see cref="FilteredCatalog"/> that conatains all the parts from the original filtered catalog and all their dependencies. 17public FilteredCatalog IncludeDependencies() 23/// Creates a new instance of the <see cref="FilteredCatalog"/> that conatains all the parts from the original filtered catalog and all their dependencies that 28public FilteredCatalog IncludeDependencies(Func<ImportDefinition, bool> importFilter) 37/// Creates a new instance of the <see cref="FilteredCatalog"/> that conatains all the parts from the original filtered catalog and all their dependents. 40public FilteredCatalog IncludeDependents() 46/// Creates a new instance of the <see cref="FilteredCatalog"/> that conatains all the parts from the original filtered catalog and all their dependents that 51public FilteredCatalog IncludeDependents(Func<ImportDefinition, bool> importFilter) 59private FilteredCatalog Traverse(IComposablePartCatalogTraversal traversal)
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
135public static FilteredCatalog Filter(this ComposablePartCatalog catalog, Func<ComposablePartDefinition, bool> filter)