PexInstrumentNamespaceAttribute Class

Definition

Instruments all types in or under the specified namespace in the target assembly

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

Constructors

PexInstrumentNamespaceAttribute(Type)

Initializes a new instance of the PexInstrumentNamespaceAttribute class.

PexInstrumentNamespaceAttribute(Type, String)

Initializes a new instance of the PexInstrumentNamespaceAttribute 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

IsDisabled

Gets a value indicating if these settings were disabled

(Inherited from PexMonitorSettingsAttributeBase)
Namespace

Gets the target namespace

TargetAssembly

Gets the target Assembly

Methods

CreateInstrumentationProvider()

Creates an instrumentation providedr

(Inherited from PexMonitorSettingsAttributeBase)
GetService(Type)

Gets a service if available

(Inherited from PexMonitorSettingsAttributeBase)

Explicit Interface Implementations

IServiceProvider.GetService(Type) (Inherited from PexMonitorSettingsAttributeBase)

Applies to