PexCreatableAsSingletonAttribute Classe
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.
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
-
PexCreatableAsSingletonAttribute
- 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) |