FilteredCatalog.IncludeDependents 方法

定义

获取包含此目录所有部分和所有相关性的新 FilteredCatalog 对象。Gets a new FilteredCatalog object that contains all the parts from this catalog and all their dependents.

重载

IncludeDependents()

获取包含此目录所有部分和所有相关性的新 FilteredCatalog 对象。Gets a new FilteredCatalog object that contains all the parts from this catalog and all their dependents.

IncludeDependents(Func<ImportDefinition,Boolean>)

获取包含此目录所有部分和所有相关性(通过匹配指定筛选器的导入实现)的新 FilteredCatalog 对象。Gets a new FilteredCatalog object that contains all the parts from this catalog and all dependents that can be reached through imports that match the specified filter.

IncludeDependents()

获取包含此目录所有部分和所有相关性的新 FilteredCatalog 对象。Gets a new FilteredCatalog object that contains all the parts from this catalog and all their dependents.

public:
 System::ComponentModel::Composition::Hosting::FilteredCatalog ^ IncludeDependents();
public System.ComponentModel.Composition.Hosting.FilteredCatalog IncludeDependents ();
member this.IncludeDependents : unit -> System.ComponentModel.Composition.Hosting.FilteredCatalog
Public Function IncludeDependents () As FilteredCatalog

返回

FilteredCatalog

新目录。The new catalog.

适用于

IncludeDependents(Func<ImportDefinition,Boolean>)

获取包含此目录所有部分和所有相关性(通过匹配指定筛选器的导入实现)的新 FilteredCatalog 对象。Gets a new FilteredCatalog object that contains all the parts from this catalog and all dependents that can be reached through imports that match the specified filter.

public:
 System::ComponentModel::Composition::Hosting::FilteredCatalog ^ IncludeDependents(Func<System::ComponentModel::Composition::Primitives::ImportDefinition ^, bool> ^ importFilter);
public System.ComponentModel.Composition.Hosting.FilteredCatalog IncludeDependents (Func<System.ComponentModel.Composition.Primitives.ImportDefinition,bool> importFilter);
member this.IncludeDependents : Func<System.ComponentModel.Composition.Primitives.ImportDefinition, bool> -> System.ComponentModel.Composition.Hosting.FilteredCatalog
Public Function IncludeDependents (importFilter As Func(Of ImportDefinition, Boolean)) As FilteredCatalog

参数

importFilter
Func<ImportDefinition,Boolean>

导入筛选器。The filter for imports.

返回

FilteredCatalog

新目录。The new catalog.

适用于