AttributedModelServices.Imports Method

.NET Framework 4.5

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Imports<T>(ComposablePartDefinition) Returns a value that indicates whether the specified part contains an import that matches the specified contract type.
Public method Static member Imports<T>(ComposablePartDefinition, ImportCardinality) Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.
Public method Static member Imports(ComposablePartDefinition, Type) Returns a value that indicates whether the specified part contains an import that matches the specified contract type.
Public method Static member Imports(ComposablePartDefinition, Type, ImportCardinality) Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft