다음을 통해 공유


ScopingExtensions.Filter 메서드

정의

지정한 필터 함수를 사용하여 지정된 카탈로그를 필터링합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::ComponentModel::Composition::Hosting::FilteredCatalog ^ Filter(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, Func<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^, bool> ^ filter);
public static System.ComponentModel.Composition.Hosting.FilteredCatalog Filter (this System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, Func<System.ComponentModel.Composition.Primitives.ComposablePartDefinition,bool> filter);
static member Filter : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * Func<System.ComponentModel.Composition.Primitives.ComposablePartDefinition, bool> -> System.ComponentModel.Composition.Hosting.FilteredCatalog
<Extension()>
Public Function Filter (catalog As ComposablePartCatalog, filter As Func(Of ComposablePartDefinition, Boolean)) As FilteredCatalog

매개 변수

catalog
ComposablePartCatalog

필터링하는 카탈로그입니다.

filter
Func<ComposablePartDefinition,Boolean>

필터 함수입니다.

반환

지정된 필터를 사용하여 필터링된 새 카탈로그입니다.

적용 대상