Class StrategyStringLengthAttribute
- Namespace
- Conjecture.Core
- Assembly
- Conjecture.Core.dll
Constrains generated string length to [minLength, maxLength].
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class StrategyStringLengthAttribute : Attribute
- Inheritance
-
StrategyStringLengthAttribute
- Inherited Members
Constructors
StrategyStringLengthAttribute(int, int)
Constrains generated string length to [minLength, maxLength].
public StrategyStringLengthAttribute(int minLength, int maxLength)
Parameters
Properties
MaxLength
Gets the maximum generated string length.
public int MaxLength { get; }
Property Value
MinLength
Gets the minimum generated string length.
public int MinLength { get; }