PexAssertExcludeTypeAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于从要断言的特定类型中排除成员的属性
public ref class PexAssertExcludeTypeAttribute sealed : Microsoft::Pex::Framework::TestGeneration::PexAssertionFilterAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class PexAssertExcludeTypeAttribute : Microsoft.Pex.Framework.TestGeneration.PexAssertionFilterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)>]
type PexAssertExcludeTypeAttribute = class
inherit PexAssertionFilterAttributeBase
Public NotInheritable Class PexAssertExcludeTypeAttribute
Inherits PexAssertionFilterAttributeBase
- 继承
-
PexAssertExcludeTypeAttribute
- 属性
构造函数
| PexAssertExcludeTypeAttribute(Type) |
初始化具有类型定义的属性的新实例 |
| PexAssertExcludeTypeAttribute(Type, String) |
初始化具有类型定义的属性的新实例 |
属性
| Name |
获取此包的名称。 (继承自 PexExplorationPackageAttributeBase) |
方法
| AfterExploration(IPexExplorationComponent, Object) |
用于执行探索操作的方法。 (继承自 PexAssertionFilterAttributeBase) |
| BeforeExploration(IPexExplorationComponent) |
加载筛选器(如果有) (继承自 PexAssertionFilterAttributeBase) |
| Decorate(Name, IPexDecoratedComponentElement) |
此方法可以向 IntelliTest 公告筛选器、焦点和包。 (继承自 PexExplorationPackageAttributeBase) |
| Initialize(IPexExplorationEngine) |
初始化 PexAssertionAttributeFilterBase 类。 (继承自 PexAssertionFilterAttributeBase) |
| Load(IContainer) | (继承自 PexAssertionFilterAttributeBase) |
| TryCreateAssertionFilters(IPexExplorationComponent, IIndexable<IPexAssertionFilter>) |
尝试创建一组筛选器 (继承自 PexAssertionFilterAttributeBase) |
| Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
在特定可见性上下文中验证属性。 (继承自 PexComponentElementDecoratorAttributeBase) |