CombinatorialRandomDataAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
組み合わせテスト メソッドのパラメーターに対してランダムに生成される整数値を指定します。
[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) |
パラメーターに渡す必要がある値を取得します。 |