Class CompositionInitializer
Provides static access to methods for parts to satisfy imports.
Inheritance
System.Object
CompositionInitializer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ComponentModel.Composition
Assembly: System.ComponentModel.Composition.Initialization.dll
Syntax
public static class CompositionInitializer
Methods
| Improve this Doc View SourceSatisfyImports(ComposablePart)
Fills the imports of the specified part.
Declaration
public static void SatisfyImports(ComposablePart part)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Composition.Primitives.ComposablePart | part | The part to fill the imports of. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.ComponentModel.Composition.ChangeRejectedException | One or more of the imports of |
System.ComponentModel.Composition.CompositionException | One or more of the imports of |
SatisfyImports(Object)
Fills the imports of the specified attributed part.
Declaration
public static void SatisfyImports(object attributedPart)
Parameters
Type | Name | Description |
---|---|---|
System.Object | attributedPart | The attributed part to fill the imports of. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.ComponentModel.Composition.ChangeRejectedException | One or more of the imports of |
System.ComponentModel.Composition.CompositionException | One or more of the imports of |