語言

CombinatorialRangeAttribute 類別

定義

指定組合測試方法中參數的範圍。

[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)

取得應該傳遞給參數的值。

適用於