Language

CombinatorialRandomDataAttribute クラス

定義

組み合わせテスト メソッドのパラメーターに対してランダムに生成される整数値を指定します。

[System.AttributeUsage(System.AttributeTargets.Parameter)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class CombinatorialRandomDataAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.ICombinatorialValuesProvider
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public sealed class CombinatorialRandomDataAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.ICombinatorialValuesProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type CombinatorialRandomDataAttribute = class
    inherit Attribute
    interface ICombinatorialValuesProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type CombinatorialRandomDataAttribute = class
    inherit Attribute
    interface ICombinatorialValuesProvider
Public NotInheritable Class CombinatorialRandomDataAttribute
Inherits Attribute
Implements ICombinatorialValuesProvider
継承
CombinatorialRandomDataAttribute
属性
実装

コンストラクター

名前 説明
CombinatorialRandomDataAttribute()

CombinatorialRandomDataAttribute クラスの新しいインスタンスを初期化します。

フィールド

名前 説明
NoSeed

Randomが独自のシードを選択することを指定します。

プロパティ

名前 説明
Count

生成する値の正の数を取得または設定します。

Maximum

最大値を含む値を取得または設定します。

Minimum

最小値 (両端を含む) を取得または設定します。

Seed

乱数の生成に使用されるシードを取得または設定します。

メソッド

名前 説明
GetValues(ParameterInfo)

パラメーターに渡す必要がある値を取得します。

適用対象