ComposablePartCatalogChangeEventArgs Construtor
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe ComposablePartCatalogChangeEventArgs com as alterações especificadas.
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>
As definições de parte que foram adicionadas ao catálogo.
- removedDefinitions
- IEnumerable<ComposablePartDefinition>
As definições de parte que foram removidas do catálogo.
- atomicComposition
- AtomicComposition
A transação de composição para usar ou null
para desabilitar a composição transacional.
Exceções
addedDefinitions
ou removedDefinitions
é null
.