# AdfConversionReport

Operation-scoped conversion evidence.

Class 

`OfficeIMO.Adf`

**Namespace**

`OfficeIMO.Adf`

**Assembly**

`OfficeIMO.Adf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[AdfConversionModels.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L102)

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

Operation-scoped conversion evidence.

## Inheritance

- OfficeConversionReport
- AdfConversionReport

## 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

- Property [AdfConversionReport.Empty](/api/adf/officeimo-adf-adfconversionreport/#property-empty)
- Property [AdfConversionResult<T>.Report](/api/adf/officeimo-adf-adfconversionresult/#property-report)

Filter members 

Show inherited

## Constructors

`public AdfConversionReport(IEnumerable<AdfConversionDiagnostic> diagnostics)` [#](#constructor-ctor-collections-generic-ienumerable-officeimo-adf-adfconversiondiagnostic)

[AdfConversionModels.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L102)

Creates a report by copying the supplied diagnostic sequence.

Parameters

**diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Adf.AdfConversionDiagnostic> required**

NativeDiagnostics to include in the report; an empty sequence is allowed.

## 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 static AdfConversionReport Empty { get; }` [#](#property-empty)

[AdfConversionModels.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L114)

Gets a report with no diagnostics, which is considered lossless.

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

[AdfConversionModels.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L117)

Gets the diagnostics captured when this report was created.

`public bool IsLossless { get; }` [#](#property-islossless)

[AdfConversionModels.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L124)

Gets whether every diagnostic is informational; an empty report is also lossless.

`public bool HasErrors { get; }` [#](#property-haserrors)

[AdfConversionModels.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L127)

Gets whether at least one diagnostic has [AdfConversionSeverity.Error](/api/adf/officeimo-adf-adfconversionseverity/) severity.

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

[AdfConversionModels.cs:129](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Adf/AdfConversionModels.cs#L129)

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:053F5E624A3EECBB535BE30EF69AABB708BD25F8E0A37E85AEA7DCA1FDDE6A96 -->
