3 instantiations of FilteredCatalog
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (1)
107
FilteredCatalog? complement = new
FilteredCatalog
(_innerCatalog, p => !_filter(p), this);
System\ComponentModel\Composition\Hosting\FilteredCatalog.Traversal.cs (1)
72
return new
FilteredCatalog
(_innerCatalog, traversalClosure.Contains);
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
140
return new
FilteredCatalog
(catalog, filter);
17 references to FilteredCatalog
System.ComponentModel.Composition (17)
System\ComponentModel\Composition\Hosting\FilteredCatalog.cs (5)
18
private
FilteredCatalog
? _complement;
23
/// Initializes a new instance of the <see cref="
FilteredCatalog
"/> class.
32
internal FilteredCatalog(ComposablePartCatalog catalog, Func<ComposablePartDefinition, bool> filter,
FilteredCatalog
? complement)
99
public
FilteredCatalog
Complement
107
FilteredCatalog
? complement = new FilteredCatalog(_innerCatalog, p => !_filter(p), this);
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependenciesTraversal.cs (1)
20
public DependenciesTraversal(
FilteredCatalog
catalog, Func<ImportDefinition, bool> importFilter)
System\ComponentModel\Composition\Hosting\FilteredCatalog.DependentsTraversal.cs (1)
26
public 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.
17
public
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
28
public
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.
40
public
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
51
public
FilteredCatalog
IncludeDependents(Func<ImportDefinition, bool> importFilter)
59
private
FilteredCatalog
Traverse(IComposablePartCatalogTraversal traversal)
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
135
public static
FilteredCatalog
Filter(this ComposablePartCatalog catalog, Func<ComposablePartDefinition, bool> filter)