Compartir a través de


ComposablePartCatalogChangeEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase ComposablePartCatalogChangeEventArgs con los cambios especificados.

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);
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
Public Sub New (addedDefinitions As IEnumerable(Of ComposablePartDefinition), removedDefinitions As IEnumerable(Of ComposablePartDefinition), atomicComposition As AtomicComposition)

Parámetros

addedDefinitions
IEnumerable<ComposablePartDefinition>

Definiciones de elementos que se agregaron al catálogo.

removedDefinitions
IEnumerable<ComposablePartDefinition>

Definiciones de elementos que se quitaron del catálogo.

atomicComposition
AtomicComposition

Transacción de composición que se va a usar o null para deshabilitar la composición transaccional.

Excepciones

addedDefinitions o removedDefinitions es null.

Se aplica a