CombinatorialRangeAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定組合測試方法中參數的範圍。
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public sealed class CombinatorialRangeAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.ICombinatorialValuesProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type CombinatorialRangeAttribute = class
inherit Attribute
interface ICombinatorialValuesProvider
Public NotInheritable Class CombinatorialRangeAttribute
Inherits Attribute
Implements ICombinatorialValuesProvider
- 繼承
-
CombinatorialRangeAttribute
- 屬性
- 實作
建構函式
| 名稱 | Description |
|---|---|
| CombinatorialRangeAttribute(Int32, Int32, Int32) |
初始化 CombinatorialRangeAttribute 類別的新執行個體。 |
| CombinatorialRangeAttribute(Int32, Int32) |
初始化 CombinatorialRangeAttribute 類別的新執行個體。 |
| CombinatorialRangeAttribute(UInt32, UInt32, UInt32) |
初始化 CombinatorialRangeAttribute 類別的新執行個體。 |
| CombinatorialRangeAttribute(UInt32, UInt32) |
初始化 CombinatorialRangeAttribute 類別的新執行個體。 |
方法
| 名稱 | Description |
|---|---|
| GetValues(ParameterInfo) |
取得應該傳遞給參數的值。 |