Class StrategyMaxDepthAttribute
- Namespace
- Conjecture.Core
- Assembly
- Conjecture.Core.dll
Caps the recursive generation depth for a self-referential or mutually recursive type to maxDepth.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class StrategyMaxDepthAttribute : Attribute
- Inheritance
-
StrategyMaxDepthAttribute
- Inherited Members
Constructors
StrategyMaxDepthAttribute(int)
Caps the recursive generation depth for a self-referential or mutually recursive type to maxDepth.
public StrategyMaxDepthAttribute(int maxDepth)
Parameters
maxDepthint
Properties
MaxDepth
Gets the maximum generation depth.
public int MaxDepth { get; }