PexInstrumentAssemblyAttribute Class

Definition

Attribute to specify an Assembly to providing a Type from this Assembly.

public ref class PexInstrumentAssemblyAttribute sealed : Microsoft::Pex::Framework::Instrumentation::PexInstrumentAssemblyAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PexInstrumentAssemblyAttribute : Microsoft.Pex.Framework.Instrumentation.PexInstrumentAssemblyAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type PexInstrumentAssemblyAttribute = class
    inherit PexInstrumentAssemblyAttributeBase
Public NotInheritable Class PexInstrumentAssemblyAttribute
Inherits PexInstrumentAssemblyAttributeBase
Inheritance
Attributes

Constructors

PexInstrumentAssemblyAttribute(String)

Initializes a new instance of the PexInstrumentAssemblyAttribute class.

PexInstrumentAssemblyAttribute(Type)

Initializes a new instance of the PexInstrumentAssemblyAttribute class.

Properties

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)
TargetAssemblyName

Gets the name of the target assembly.

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

IServiceProvider.GetService(Type) (Inherited from PexMonitorSettingsAttributeBase)

Applies to