Table of Contents

Property MaxNestingDepth

Namespace
DocWright.Formats.Html
Assembly
DocWright.Formats.Html.dll

MaxNestingDepth

Gets or sets the maximum element nesting depth. Exceeding it throws a ResourceLimitExceededException rather than recursing: deeply nested tag soup is a classic stack-overflow vector, and an overflow is not catchable.

public int MaxNestingDepth { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

The value is not positive.