Lire en anglais Modifier

Partager via


ScopingExtensions Class

Definition

Defines static convenience methods for scoping.

public static class ScopingExtensions
Inheritance
ScopingExtensions

Methods

ContainsPartMetadata<T>(ComposablePartDefinition, String, T)

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

ContainsPartMetadataWithKey(ComposablePartDefinition, String)

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

Exports(ComposablePartDefinition, String)

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

Filter(ComposablePartCatalog, Func<ComposablePartDefinition,Boolean>)

Filters the specified catalog with the specified filter function.

Imports(ComposablePartDefinition, String, ImportCardinality)

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

Imports(ComposablePartDefinition, String)

Determines whether the specified part imports the specified contract.

Applies to

Produit Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)