ComposablePartCatalogChangeEventArgs(IEnumerable<ComposablePartDefinition>, IEnumerable<ComposablePartDefinition>, AtomicComposition) ComposablePartCatalogChangeEventArgs(IEnumerable<ComposablePartDefinition>, IEnumerable<ComposablePartDefinition>, AtomicComposition) ComposablePartCatalogChangeEventArgs(IEnumerable<ComposablePartDefinition>, IEnumerable<ComposablePartDefinition>, AtomicComposition) Constructor

Definition

Initializes a new instance of the ComposablePartCatalogChangeEventArgs class with the specified changes.

public:
 ComposablePartCatalogChangeEventArgs(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^> ^ addedDefinitions, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^> ^ removedDefinitions, System::ComponentModel::Composition::Hosting::AtomicComposition ^ atomicComposition);
public ComposablePartCatalogChangeEventArgs (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePartDefinition> addedDefinitions, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePartDefinition> removedDefinitions, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition);
new System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs : seq<System.ComponentModel.Composition.Primitives.ComposablePartDefinition> * seq<System.ComponentModel.Composition.Primitives.ComposablePartDefinition> * System.ComponentModel.Composition.Hosting.AtomicComposition -> System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs

Parameters

addedDefinitions
IEnumerable<ComposablePartDefinition>

The part definitions that were added to the catalog.

removedDefinitions
IEnumerable<ComposablePartDefinition>

The part definitions that were removed from the catalog.

atomicComposition
AtomicComposition AtomicComposition AtomicComposition

The composition transaction to use, or null to disable transactional composition.

Exceptions

addedDefinitions or removedDefinitions is null.

Applies to