PexCreatableByClassFactoryAttribute Classe

Definição

Atributo que indica que uma classe pode ser criada por uma fábrica de classes

public ref class PexCreatableByClassFactoryAttribute sealed : Microsoft::Pex::Framework::Creatable::PexCreatableAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexCreatableByClassFactoryAttribute : Microsoft.Pex.Framework.Creatable.PexCreatableAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexCreatableByClassFactoryAttribute = class
    inherit PexCreatableAttributeBase
Public NotInheritable Class PexCreatableByClassFactoryAttribute
Inherits PexCreatableAttributeBase
Herança
Atributos

Construtores

PexCreatableByClassFactoryAttribute(Type, Type)

Inicializa uma nova instância da classe PexCreatableByClassFactoryAttribute.

Propriedades

CreatableType

Obtém o tipo creatable.

CreatableTypeDefinition

Obtém o tipo a ser criado.

(Herdado de PexCreatableAttributeBase)
FactoryType

Obtém o tipo da associação.

Name

Obtém o nome deste pacote.

(Herdado de PexExplorationPackageAttributeBase)

Métodos

AfterExploration(IPexExplorationComponent, Object)

O retorno de chamada que é executado após o término da exploração.

(Herdado de PexExplorationPackageAttributeBase)
BeforeExploration(IPexExplorationComponent)

Retorno de chamada que é executado antes do início da exploração.

(Herdado de PexCreatableAttributeBase)
Decorate(Name, IPexDecoratedComponentElement)

Esse método pode anunciar filtros, focos e pacotes para IntelliTest.

(Herdado de PexExplorationPackageAttributeBase)
Initialize(IPexExplorationEngine)

Inicializa o pacote de exploração especificado. Pode interagir com serviços.

(Herdado de PexExplorationPackageAttributeBase)
Load(IContainer)

Esse método fornece serviços de instalação ou substituição de oportunidade.

(Herdado de PexExplorationPackageAttributeBase)
ToString()

Retorna um valor String que representa o Object atual.

(Herdado de PexCreatableAttributeBase)
TryInstantiate(IPexExplorationComponent, TypeEx[], IPexCreatable)

Tenta instanciar essa definição com os argumentos especificados.

Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Valida o atributo em um contexto de visibilidade específico.

(Herdado de PexComponentElementDecoratorAttributeBase)

Implantações explícitas de interface

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Herdado de PexComponentElementDecoratorAttributeBase)
IPexExplorationPackage.AfterExploration(IPexExplorationComponent, Object) (Herdado de PexExplorationPackageAttributeBase)
IPexExplorationPackage.BeforeExploration(IPexExplorationComponent) (Herdado de PexExplorationPackageAttributeBase)
IPexExplorationPackage.Initialize(IPexExplorationEngine) (Herdado de PexExplorationPackageAttributeBase)
IPexExplorationPackage.Load(IContainer) (Herdado de PexExplorationPackageAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Herdado de PexComponentElementDecoratorAttributeBase)

Aplica-se a