Sdílet prostřednictvím


ComposablePartCatalogChangeEventArgs Konstruktor

Definice

Inicializuje novou instanci ComposablePartCatalogChangeEventArgs třídy se zadanými změnami.

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)

Parametry

addedDefinitions
IEnumerable<ComposablePartDefinition>

Definice částí, které byly přidány do katalogu.

removedDefinitions
IEnumerable<ComposablePartDefinition>

Definice částí, které byly odebrány z katalogu.

atomicComposition
AtomicComposition

Transakce složení, která se má použít, nebo null zakázat transakční složení.

Výjimky

addedDefinitions nebo removedDefinitions je null.

Platí pro