ReflectionModelServices Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The ReflectionModelServices type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateExportDefinition Creates an export definition from the specified member, with the specified contract name, metadata, and origin.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member CreatePartDefinition Creates a part definition with the specified part type, imports, exports, metadata, and origin.
Public methodStatic member GetExportingMember Gets the exporting member from a specified export definition.
Public methodStatic member GetImportingMember Gets the importing member from a specified import definition.
Public methodStatic member GetImportingParameter Gets the importing parameter from a specified import definition.
Public methodStatic member GetPartType Gets the type of a part from a specified part definition.
Public methodStatic member IsDisposalRequired Determines whether the specified part requires disposal.
Public methodStatic member IsImportingParameter Determines whether an import definition represents a member or a parameter.

Top