ComposablePart Classe
Definição
Define a classe base abstrata para partes combináveis, que importam objetos e produzem objetos exportados.Defines the abstract base class for composable parts, which import objects and produce exported objects.
public ref class ComposablePart abstract
public abstract class ComposablePart
type ComposablePart = class
Public MustInherit Class ComposablePart
- Herança
-
ComposablePart
Construtores
| ComposablePart() |
Inicializa uma nova instância da classe ComposablePart.Initializes a new instance of the ComposablePart class. |
Propriedades
| ExportDefinitions |
Obtém uma coleção dos objetos ExportDefinition que descrevem os objetos exportados fornecidos pela parte.Gets a collection of the ExportDefinition objects that describe the exported objects provided by the part. |
| ImportDefinitions |
Obtém uma coleção dos objetos ImportDefinition que descrevem os objetos importados exigidos pela parte.Gets a collection of the ImportDefinition objects that describe the imported objects required by the part. |
| Metadata |
Obtém os metadados do objeto ComposablePart.Gets the metadata of the ComposablePart object. |
Métodos
| Activate() |
Chamado quando todas as importações da parte tiverem sido definidas e as exportações puderem ser recuperadas.Called when all the imports of the part have been set, and exports can be retrieved. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetExportedValue(ExportDefinition) |
Obtém o objeto exportado descrito pelo objeto ExportDefinition especificado.Gets the exported object described by the specified ExportDefinition object. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| SetImport(ImportDefinition, IEnumerable<Export>) |
Define a importação descrita pelo objeto ImportDefinition especificado a ser satisfeita pelas exportações especificadas.Sets the import described by the specified ImportDefinition object to be satisfied by the specified exports. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |