AttributedModelServices.Imports Method

.NET Framework (current version)
 

Returns a value that indicates whether a specified part contains an inport that matches a specified contract.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticImports(ComposablePartDefinition, Type)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type.

System_CAPS_pubmethodSystem_CAPS_staticImports(ComposablePartDefinition, Type, ImportCardinality)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.

System_CAPS_pubmethodSystem_CAPS_staticImports<T>(ComposablePartDefinition)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type.

System_CAPS_pubmethodSystem_CAPS_staticImports<T>(ComposablePartDefinition, ImportCardinality)

Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.

Return to top
Show: