Table of Contents

Class StrategyRangeAttribute

Namespace
Conjecture.Core
Assembly
Conjecture.Core.dll

Constrains the generated range of a numeric member to [min, max].

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class StrategyRangeAttribute : Attribute
Inheritance
StrategyRangeAttribute
Inherited Members

Constructors

StrategyRangeAttribute(double, double)

Constrains the generated range of a numeric member to [min, max].

public StrategyRangeAttribute(double min, double max)

Parameters

min double
max double

Properties

Max

Gets the inclusive upper bound.

public double Max { get; }

Property Value

double

Min

Gets the inclusive lower bound.

public double Min { get; }

Property Value

double