# BibliographyConversionDiagnostic

One deterministic conversion decision.

Class 

`OfficeIMO.Bibliography`

**Namespace**

`OfficeIMO.Bibliography`

**Assembly**

`OfficeIMO.Bibliography`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[BibliographyConversionReport.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L18)

**Modifiers**

sealed

One deterministic conversion decision.

## Inheritance

- object
- BibliographyConversionDiagnostic

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

- Property [BibliographyConversionReport.NativeDiagnostics](/api/bibliography/officeimo-bibliography-bibliographyconversionreport/#property-nativediagnostics)

### Accepted by parameters 1

- Method [BibliographyConversionReport.Add](/api/bibliography/officeimo-bibliography-bibliographyconversionreport/#method-add-officeimo-bibliography-bibliographyconversiondiagnostic) parameter `diagnostic`

Filter members 

Show inherited

## Constructors

`public BibliographyConversionDiagnostic(string code, BibliographyDiagnosticSeverity severity, string message, BibliographyConversionAction action, string? itemKey = null, string? field = null)` [#](#constructor-ctor-string-officeimo-bibliography-bibliographydiagnosticseverity-string-officeimo-bibliography-bibliographyconversionaction-string-string)

[BibliographyConversionReport.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L18)

Initializes a conversion diagnostic.

Parameters

**code string required**

**severity OfficeIMO.Bibliography.BibliographyDiagnosticSeverity required**

**message string required**

**action OfficeIMO.Bibliography.BibliographyConversionAction required**

**itemKey string? = null optional**

**field string? = null optional**

## 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 string Code { get; }` [#](#property-code)

[BibliographyConversionReport.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L28)

Stable machine-readable code.

`public BibliographyDiagnosticSeverity Severity { get; }` [#](#property-severity)

[BibliographyConversionReport.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L30)

Severity.

`public string Message { get; }` [#](#property-message)

[BibliographyConversionReport.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L32)

Description.

`public BibliographyConversionAction Action { get; }` [#](#property-action)

[BibliographyConversionReport.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L34)

Conversion action.

`public string? ItemKey { get; }` [#](#property-itemkey)

[BibliographyConversionReport.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L36)

Related citation key.

`public string? Field { get; }` [#](#property-field)

[BibliographyConversionReport.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Bibliography/Conversion/BibliographyConversionReport.cs#L38)

Related field.

<!-- PowerForge markdown artifact sha256:7537B657A1C723BD7964A6E734FC871B9ACA0737EB9D24739880878A4B41D891 -->
