# OfficeDocumentModelDiagnostic

Diagnostic emitted while constructing or consuming a neutral model.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeDocumentModel.cs:404](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L404)

**Modifiers**

sealed

Diagnostic emitted while constructing or consuming a neutral model.

## Inheritance

- object
- OfficeDocumentModelDiagnostic

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

### Returned or exposed by 1

- Property [OfficeDocumentModel.Diagnostics](/api/core/officeimo-officedocumentmodel/#property-diagnostics)

Filter members 

Show inherited

## Constructors

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

[OfficeDocumentModel.cs:404](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L404)

## 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 OfficeDocumentModelDiagnosticSeverity Severity { get; set; }` [#](#property-severity)

[OfficeDocumentModel.cs:404](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L404)

Diagnostic severity.

`public OfficeDocumentModelDiagnosticCategory Category { get; set; }` [#](#property-category)

[OfficeDocumentModel.cs:406](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L406)

Diagnostic category.

`public string Code { get; set; }` [#](#property-code)

[OfficeDocumentModel.cs:408](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L408)

Stable diagnostic code.

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

[OfficeDocumentModel.cs:410](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L410)

Human-readable message.

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

[OfficeDocumentModel.cs:412](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L412)

Producing component.

`public bool? IsRecoverable { get; set; }` [#](#property-isrecoverable)

[OfficeDocumentModel.cs:414](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L414)

Whether processing can continue.

`public OfficeDocumentModelLocation? Location { get; set; }` [#](#property-location)

[OfficeDocumentModel.cs:416](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L416)

Source location.

`public IReadOnlyDictionary<string, string> Attributes { get; set; }` [#](#property-attributes)

[OfficeDocumentModel.cs:418](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModel.cs#L418)

Machine-readable details.

<!-- PowerForge markdown artifact sha256:29B1395FCE2B4C51D3DCFEF1CDAF79B915DC24EB954ED8BD109F9FC437907655 -->
