Lenguaje

CombinatorialRandomDataAttribute Clase

Definición

Especifica valores enteros generados aleatoriamente para un parámetro en un método de prueba combinatoria.

[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
Herencia
CombinatorialRandomDataAttribute
Atributos
Implementaciones

Constructores

Nombre Description
CombinatorialRandomDataAttribute()

Inicializa una nueva instancia de la clase CombinatorialRandomDataAttribute.

Campos

Nombre Description
NoSeed

Especifica que Random debe elegir su propia inicialización.

Propiedades

Nombre Description
Count

Obtiene o establece el número positivo de valores que se van a generar.

Maximum

Obtiene o establece el valor máximo, inclusivo.

Minimum

Obtiene o establece el valor mínimo, inclusivo.

Seed

Obtiene o establece el valor de inicialización utilizado para la generación de números aleatorios.

Métodos

Nombre Description
GetValues(ParameterInfo)

Obtiene los valores que se deben pasar al parámetro .

Se aplica a