PexFocusOnNamespaceAttribute Class

Definition

Includes types from a namespace

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

Constructors

PexFocusOnNamespaceAttribute(Type, String)

Initializes a new instance of the PexFocusOnNamespaceAttribute class.

Properties

DoNotReportCoverage

Gets a value indicating whether it should not report coverage.

(Inherited from PexFocusOnAttributeBase)
NamespacePrefix

Gets the namespace prefix.

Optional

Gets or sets a value indicating whether the types or assemblies by this attribute might not be present on the system

(Inherited from PexFocusOnAssemblyAttribute)
SearchPriority

Gets or sets the priority

(Inherited from PexFocusOnAttributeBase)
Strict

Gets or sets a value indicating whether this PexFocusOnNamespaceAttribute is strict.

TargetAssemblyName

Gets the name of the target assembly.

(Inherited from PexFocusOnAssemblyAttribute)

Methods

Decorate(Name, IPexDecoratedComponentElement)

Decorates component with custom decorators

(Inherited from PexFocusOnAttributeBase)
GetUncachedIncludedAssemblies(IPexLog)

Gets the uncached included assemblies.

(Inherited from PexFocusOnAssemblyAttribute)
GetUncachedIncludedMethods(IPexLog)

Gets the uncached included methods.

(Inherited from PexFocusOnAssemblyAttribute)
GetUncachedIncludedTypes(IPexLog)

Gets the uncached included types.

(Inherited from PexFocusOnAssemblyAttribute)
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