Import |
The ImportExtension type exposes the following members.
Name | Description | |
---|---|---|
ImportExtension | Initializes a new instance of the ImportExtension class. |
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. |
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)) |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |