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
Properties
Max
Gets the inclusive upper bound.
public double Max { get; }
Property Value
Min
Gets the inclusive lower bound.
public double Min { get; }