共用方式為


PexFocusOnTypeAttribute Class

Definition

Attribute to focus on a type

public ref class PexFocusOnTypeAttribute sealed : Microsoft::Pex::Framework::Focus::PexFocusOnAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class PexFocusOnTypeAttribute : Microsoft.Pex.Framework.Focus.PexFocusOnAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type PexFocusOnTypeAttribute = class
    inherit PexFocusOnAttributeBase
Public NotInheritable Class PexFocusOnTypeAttribute
Inherits PexFocusOnAttributeBase
Inheritance
Attributes

Constructors

PexFocusOnTypeAttribute(Type)

Initializes a new instance of the PexFocusOnTypeAttribute class.

PexFocusOnTypeAttribute(Type, String)

Initializes a new instance of the PexFocusOnTypeAttribute class.

Properties

DoNotReportCoverage

Gets a value indicating whether it should not report coverage.

(Inherited from PexFocusOnAttributeBase)
NoNestedTypes

Gets or sets a value indicating whether nested types should be instrumented as well

SearchPriority

Gets or sets the priority

(Inherited from PexFocusOnAttributeBase)
TargetTypeDefinition

Gets the type of the target.

Methods

Decorate(Name, IPexDecoratedComponentElement)

Decorates component with custom decorators

(Inherited from PexFocusOnAttributeBase)
GetUncachedIncludedAssemblies(IPexLog)

Gets the uncached included assemblies.

(Inherited from PexFocusOnAttributeBase)
GetUncachedIncludedMethods(IPexLog)

Gets the uncached included methods.

(Inherited from PexFocusOnAttributeBase)
GetUncachedIncludedTypes(IPexLog)

Gets the uncached included types.

(Inherited from PexFocusOnAttributeBase)
TryGetFocusedAssemblies(IPexLog, IIndexable<AssemblyEx>)

Tries to get the focused assemblies.

(Inherited from PexFocusOnAttributeBase)
TryGetFocusedMethods(IPexLog, IIndexable<MethodDefinition>)

Tries to get the focused methods.

(Inherited from PexFocusOnAttributeBase)
TryGetFocusedTypes(IPexLog, IIndexable<TypeDefinition>)

Gets the included types.

(Inherited from PexFocusOnAttributeBase)
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext)

Validates the attribute in a particular visibility context.

(Inherited from PexComponentElementDecoratorAttributeBase)

Explicit Interface Implementations

IPexComponentElementDecorator.Decorate(Name, IPexDecoratedComponentElement) (Inherited from PexComponentElementDecoratorAttributeBase)
IPexValidatable.Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) (Inherited from PexComponentElementDecoratorAttributeBase)

Applies to