# DocBookConversionResult<T>

Conversion result with deterministic loss reporting.

Class 

`OfficeIMO.DocBook`

**Namespace**

`OfficeIMO.DocBook`

**Assembly**

`OfficeIMO.DocBook`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

Conversion result with deterministic loss reporting.

## Inheritance

- OfficeConversionReport
- DocBookConversionResult<T>

## Usage

Explore 2 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.

### Returned or exposed by 2

- Method [DocBookDocument.FromOfficeDocumentModel](/api/doc-book/officeimo-docbook-docbookdocument/#method-fromofficedocumentmodel-officeimo-officedocumentmodel-nullable-officeimo-docbook-docbookdocumentkind-nullable-officeimo-docbook-docbookprofile-officeimo-docbook-docbookconversionoptions)
- Method [DocBookDocument.ToOfficeDocumentModel](/api/doc-book/officeimo-docbook-docbookdocument/#method-toofficedocumentmodel-string-officeimo-docbook-docbookconversionoptions-threading-cancellationtoken)

## Type Parameters

**T**

Filter members 

Show inherited

## 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 void ThrowIfLoss()` [#](#method-throwifloss)

Inherited from OfficeConversionReport

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

Inherited from object

Returns

`string?`

## Properties

`public T? Value { get; }` [#](#property-value)

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

Converted value.

`public IReadOnlyList<DocBookDiagnostic> NativeDiagnostics { get; }` [#](#property-nativediagnostics)

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

Conversion diagnostics.

`public override bool HasLoss { get; }` [#](#property-hasloss)

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

Gets whether the report describes an approximation, omission, failure or unassessed content.

## Inherited Properties

`public string Source { get; }` [#](#property-source)

Inherited from OfficeConversionReport

`public string Target { get; }` [#](#property-target)

Inherited from OfficeConversionReport

`public string? OutputPath { get; }` [#](#property-outputpath)

Inherited from OfficeConversionReport

`public long ItemsWritten { get; }` [#](#property-itemswritten)

Inherited from OfficeConversionReport

`public TimeSpan Elapsed { get; }` [#](#property-elapsed)

Inherited from OfficeConversionReport

`public IReadOnlyList<OfficeDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

Inherited from OfficeConversionReport

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