PexCreatableAsSingletonAttribute Classe

Definição

Atributo que indica que há apenas uma instância que é nomeada por um campo público, getter de propriedade ou método getter.

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

Construtores

PexCreatableAsSingletonAttribute(Type, MemberInfo)

Inicializa uma nova instância da classe PexCreatableAsSingletonAttribute.

PexCreatableAsSingletonAttribute(Type, String)

Inicializa uma nova instância da classe PexCreatableAsSingletonAttribute.

PexCreatableAsSingletonAttribute(Type, String, Type, String)

Inicializa uma nova instância da classe PexCreatableAsSingletonAttribute.

PexCreatableAsSingletonAttribute(Type, Type, String)

Inicializa uma nova instância da classe PexCreatableAsSingletonAttribute.

Propriedades

CreatableTypeDefinition

Obtém o tipo a ser criado.

(Herdado de PexCreatableAttributeBase)
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