Język

CombinatorialRandomDataAttribute Klasa

Definicja

Określa losowo wygenerowane wartości całkowite dla parametru w metodzie testu kombinatoryjnego.

[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
Dziedziczenie
CombinatorialRandomDataAttribute
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
CombinatorialRandomDataAttribute()

Inicjuje nowe wystąpienie klasy CombinatorialRandomDataAttribute.

Pola

Nazwa Opis
NoSeed

Określa, że Random powinien wybrać własne nasion.

Właściwości

Nazwa Opis
Count

Pobiera lub ustawia dodatnią liczbę wartości do wygenerowania.

Maximum

Pobiera lub ustawia maksymalną wartość włącznie.

Minimum

Pobiera lub ustawia minimalną wartość włącznie.

Seed

Pobiera lub ustawia inicjator używany do generowania liczb losowych.

Metody

Nazwa Opis
GetValues(ParameterInfo)

Pobiera wartości, które powinny zostać przekazane do parametru.

Dotyczy