ScopingExtensions Class

.NET Framework (current version)
 

Defines static convenience methods for scoping.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

System::Object
  System.ComponentModel.Composition.Hosting::ScopingExtensions

[ExtensionAttribute]
public ref class ScopingExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticContainsPartMetadata<T>(ComposablePartDefinition^, String^, T)

Gets a value that indicates whether the specified part contains metadata that has the specified key and value.

System_CAPS_pubmethodSystem_CAPS_staticContainsPartMetadataWithKey(ComposablePartDefinition^, String^)

Gets a value that indicates whether the specified part contains metadata that has the specified key.

System_CAPS_pubmethodSystem_CAPS_staticExports(ComposablePartDefinition^, String^)

Gets a value that indicates whether the specified part exports the specified contract.

System_CAPS_pubmethodSystem_CAPS_staticFilter(ComposablePartCatalog^, Func<ComposablePartDefinition^, Boolean>^)

Filters the specified catalog with the specified filter function.

System_CAPS_pubmethodSystem_CAPS_staticImports(ComposablePartDefinition^, String^)

Determines whether the specified part imports the specified contract.

System_CAPS_pubmethodSystem_CAPS_staticImports(ComposablePartDefinition^, String^, ImportCardinality)

Determines whether the specified part imports the specified contract with the specified cardinality.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: