ImportConventionBuilder Classe
Definição
Configura uma importação que está associada uma parte.Configures an import that is associated with a part.
public ref class ImportConventionBuilder sealed
public sealed class ImportConventionBuilder
type ImportConventionBuilder = class
Public NotInheritable Class ImportConventionBuilder
- Herança
-
ImportConventionBuilder
Métodos
| AddMetadataConstraint(String, Func<Type,Object>) |
Adiciona uma restrição à importação que exige o nome dos metadados especificados e o valor fornecido pela função definida no tipo de parte.Adds a constraint to the import requiring the specified metadata name and the value provided by the specified function on the part type. |
| AddMetadataConstraint(String, Object) |
Adiciona uma restrição à importação que exige o valor e nome dos metadados especificados.Adds a constraint to the import requiring the specified metadata name and value. |
| AllowDefault() |
Permite que a importação receba o valor padrão do seu tipo se o contrato não puder ser fornecido por outra parte.Allows the import to receive the default value for its type if the contract cannot be supplied by another part. |
| AsContractName(Func<Type,String>) |
Define o nome do contrato da importação para o valor fornecido pela função especificada no tipo de parte.Sets the contract name of the import to the value provided by the specified function on the part type. |
| AsContractName(String) |
Define o nome do contrato da importação para a cadeia de caracteres especificada.Sets the contract name of the import to the specified string. |
| AsMany() |
Configura a importação para receber uma coleção de exportações.Configures the import to receive a collection of exports. |
| AsMany(Boolean) |
Configura a importação para receber uma coleção de exportações, possivelmente representando todas as exportações correspondentes disponíveis.Configures the import to receive a collection of exports, possibly representing all available matching exports. |
| 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) |
| 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) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |