PexInstrumentTypeAttribute 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.
Instrument a given type; name of type may be given for non-exported types.
public ref class PexInstrumentTypeAttribute sealed : Microsoft::Pex::Framework::Instrumentation::PexInstrumentTypeAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PexInstrumentTypeAttribute : Microsoft.Pex.Framework.Instrumentation.PexInstrumentTypeAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type PexInstrumentTypeAttribute = class
inherit PexInstrumentTypeAttributeBase
Public NotInheritable Class PexInstrumentTypeAttribute
Inherits PexInstrumentTypeAttributeBase
- Inheritance
-
PexInstrumentTypeAttribute
- Attributes
Constructors
PexInstrumentTypeAttribute(String, String) |
Initializes a new instance of the PexInstrumentTypeAttribute class. |
PexInstrumentTypeAttribute(Type, String) |
Initializes a new instance of the PexInstrumentTypeAttribute class. |
PexInstrumentTypeAttribute(Type) |
Initializes a new instance of the PexInstrumentTypeAttribute 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. (Inherited from PexInstrumentTypeAttributeBase) |
IsDisabled |
Gets a value indicating if these settings were disabled (Inherited from PexMonitorSettingsAttributeBase) |
NoNestedTypes |
Gets or sets a value indicating whether nested types should be instrumented as well (Inherited from PexInstrumentTypeAttributeBase) |
TargetType |
Gets the type of the target. |
Methods
AddTypeAndNestedType(SafeSet<TypeDefinition>, TypeDefinition) |
Recursively adds type, (Inherited from PexInstrumentTypeAttributeBase) |
CacheTargetTypes() |
Caches the target types. (Inherited from PexInstrumentTypeAttributeBase) |
CacheTargetTypes(SafeSet<TypeDefinition>) |
Caches the target types. (Inherited from PexInstrumentTypeAttributeBase) |
CreateInstrumentationProvider() | (Inherited from PexInstrumentTypeAttributeBase) |
GetService(Type) |
Gets a service if available (Inherited from PexMonitorSettingsAttributeBase) |
GetTargetTypes() |
Gets the list of Type to instrument (Inherited from PexInstrumentTypeAttributeBase) |
Explicit Interface Implementations
IServiceProvider.GetService(Type) | (Inherited from PexMonitorSettingsAttributeBase) |