CompositionBatch Class
Represents a set of ComposablePart objects which will be added or removed from the container in a single transactional composition.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
| Name | Description | |
|---|---|---|
![]() | CompositionBatch() | Initializes a new instance of the CompositionBatch class. |
![]() | CompositionBatch(IEnumerable<ComposablePart^>^, IEnumerable<ComposablePart^>^) | Initializes a new instance of the CompositionBatch class with the specified parts for addition and removal. |
| Name | Description | |
|---|---|---|
![]() | PartsToAdd | Gets the collection of ComposablePart objects to be added. |
![]() | PartsToRemove | Gets the collection of ComposablePart objects to be removed. |
| Name | Description | |
|---|---|---|
![]() | AddExport(Export^) | Adds the specified export to the CompositionBatch object. |
![]() | AddPart(ComposablePart^) | Adds the specified part to the CompositionBatch object. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | RemovePart(ComposablePart^) | Puts the specified part on the list of parts to remove. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AddExportedValue<T>(T) | Overloaded. Creates a part from the specified value and adds it to the specified batch.(Defined by AttributedModelServices.) |
![]() | AddExportedValue<T>(String^, T) | Overloaded. Creates a part from the specified value and adds it to the specified batch with the specified contract name.(Defined by AttributedModelServices.) |
![]() | AddPart(Object^) | Creates a composable part from the specified attributed object, and adds it to the specified composition batch.(Defined by AttributedModelServices.) |
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


