This documentation is archived and is not being maintained.
ReflectionModelServices Class
Visual Studio 2010
Provides extension methods to create and retrieve reflection-based parts.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
The ReflectionModelServices type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CreateExportDefinition | Creates an export definition from the specified member, with the specified contract name, metadata, and origin. |
![]() ![]() | CreateImportDefinition(Lazy<ParameterInfo>, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, CreationPolicy, ICompositionElement) | Creates an import definition for the specified parameter, with the specified contract name, type identity, required metadata, cardinality, creation policy, and origin. |
![]() ![]() | CreateImportDefinition(LazyMemberInfo, String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, CreationPolicy, ICompositionElement) | Creates an import definition for the specified member, with the specified contract name, type identity, required metadata, cardinality, recomposition policy, creation policy, and origin. |
![]() ![]() | CreatePartDefinition | Creates a part definition with the specified part type, imports, exports, metadata, and origin. |
![]() ![]() | GetExportingMember | Gets the exporting member from a specified export definition. |
![]() ![]() | GetImportingMember | Gets the importing member from a specified import definition. |
![]() ![]() | GetImportingParameter | Gets the importing parameter from a specified import definition. |
![]() ![]() | GetPartType | Gets the type of a part from a specified part definition. |
![]() ![]() | IsDisposalRequired | Determines whether the specified part requires disposal. |
![]() ![]() | IsImportingParameter | Determines whether an import definition represents a member or a parameter. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
