# DocBookValidationOptions

Controls bounded common-structure validation diagnostics.

Class 

`OfficeIMO.DocBook`

**Namespace**

`OfficeIMO.DocBook`

**Assembly**

`OfficeIMO.DocBook`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[DocBookContracts.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.DocBook/DocBookContracts.cs#L171)

**Modifiers**

sealed

Controls bounded common-structure validation diagnostics.

## Inheritance

- object
- DocBookValidationOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [DocBookDocument.Validate](/api/doc-book/officeimo-docbook-docbookdocument/#method-validate-officeimo-docbook-docbookvalidationoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public DocBookValidationOptions()` [#](#constructor-ctor)

[DocBookContracts.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.DocBook/DocBookContracts.cs#L171)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int MaxDetailedDiagnosticsPerCode { get; set; }` [#](#property-maxdetaileddiagnosticspercode)

[DocBookContracts.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.DocBook/DocBookContracts.cs#L171)

Maximum detailed diagnostics retained for each diagnostic code before one summary is emitted. Defaults to 100.

<!-- PowerForge markdown artifact sha256:E753C42428B6EFB01AE01EDEF2E43AC3A2EF01463F87F3F7C2565D1548E28B74 -->
