PexGeneratedTestsAssemblyAttribute 类

定义

一种属性,用于指定当前程序集包含来自另一个程序集的测试。

public ref class PexGeneratedTestsAssemblyAttribute sealed : Microsoft::Pex::Framework::PexAttributeBase, IServiceProvider
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public sealed class PexGeneratedTestsAssemblyAttribute : Microsoft.Pex.Framework.PexAttributeBase, IServiceProvider
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)>]
type PexGeneratedTestsAssemblyAttribute = class
    inherit PexAttributeBase
    interface IServiceProvider
Public NotInheritable Class PexGeneratedTestsAssemblyAttribute
Inherits PexAttributeBase
Implements IServiceProvider
继承
PexGeneratedTestsAssemblyAttribute
属性
实现

构造函数

PexGeneratedTestsAssemblyAttribute(String)

初始化 PexGeneratedTestsAssemblyAttribute 类的新实例。

PexGeneratedTestsAssemblyAttribute(Type)

初始化 PexGeneratedTestsAssemblyAttribute 类的新实例。

属性

TargetAssemblyName

获取目标程序集的名称。

显式接口实现

IServiceProvider.GetService(Type)

适用于