PexAssemblyUnderTestAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies an assembly being tested by this project
public ref class PexAssemblyUnderTestAttribute sealed : Microsoft::Pex::Framework::Instrumentation::PexInstrumentAssemblyAttributeBase, Microsoft::Pex::Engine::ComponentModel::IPexComponentElementDecorator
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PexAssemblyUnderTestAttribute : Microsoft.Pex.Framework.Instrumentation.PexInstrumentAssemblyAttributeBase, Microsoft.Pex.Engine.ComponentModel.IPexComponentElementDecorator
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type PexAssemblyUnderTestAttribute = class
inherit PexInstrumentAssemblyAttributeBase
interface IPexComponentElementDecorator
Public NotInheritable Class PexAssemblyUnderTestAttribute
Inherits PexInstrumentAssemblyAttributeBase
Implements IPexComponentElementDecorator
- Inheritance
-
PexAssemblyUnderTestAttribute
- Attributes
- Implements
-
Microsoft.Pex.Engine.ComponentModel.IPexComponentElementDecorator
Constructors
| PexAssemblyUnderTestAttribute(String) |
Initializes a new instance of the PexAssemblyUnderTestAttribute class. |
| PexAssemblyUnderTestAttribute(Type) |
Initializes a new instance of the PexAssemblyUnderTestAttribute class. |
Properties
| AssemblyName |
Gets the name of the assembly under test |
| DisablingEnvironmentVariable |
Gets or sets the name of the environment variable that can be set to disable this attribute (Inherited from PexMonitorSettingsAttributeBase) |
| InstrumentationLevel |
Gets or sets the instrumentation level. The 'protected' level is not supported at the assembly level (Inherited from PexInstrumentAssemblyAttributeBase) |
| IsDisabled |
Gets a value indicating if these settings were disabled (Inherited from PexMonitorSettingsAttributeBase) |
Methods
| CreateInstrumentationProvider() |
Creates the instrumentation provider (Inherited from PexInstrumentAssemblyAttributeBase) |
| GetService(Type) |
Gets a service if available (Inherited from PexMonitorSettingsAttributeBase) |
| GetTargetAssemblies() |
Gets a list of AssemblyName to instrument (Inherited from PexInstrumentAssemblyAttributeBase) |
Explicit Interface Implementations
| IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) | |
| IServiceProvider.GetService(Type) | (Inherited from PexMonitorSettingsAttributeBase) |