|  | Import | 
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
SyntaxThe ImportExtension type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ImportExtension | Initializes a new instance of the ImportExtension class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AllowRecomposition | Gets or sets a value indicating whether recomposition is enabled when the container changes, just like System.ComponentModel.Composition.ImportAttribute.AllowRecomposition | 
|  | ContractName | Gets or sets the optional contract name of the exported object. | 
|  | MemberType | Gets or sets the exported type of the object to provide. | 
|  | Setters | Gets a list of setters that allow initializing dependency properties of the composed object. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ProvideValue | When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension. (Overrides MarkupExtensionProvideValue(IServiceProvider)) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | SafeCastT | Performs a cast from object to T, avoiding possible null violations if T is a value type. (Defined by ObjectExtensions) | 
 See Also
See Also