# GoogleWorkspaceDiagnosticsExtensions

Helpers that translate reports and export exceptions into structured diagnostic entries.

Class 

`OfficeIMO.GoogleWorkspace`

**Namespace**

`OfficeIMO.GoogleWorkspace`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleWorkspaceDiagnostics.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceDiagnostics.cs#L65)

**Modifiers**

static

Helpers that translate reports and export exceptions into structured diagnostic entries.

## Inheritance

- object
- GoogleWorkspaceDiagnosticsExtensions

Filter members 

Show inherited

## Methods

ToDiagnosticEntries 2 overloads

`public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(TranslationReport report)` [#](#method-todiagnosticentries-officeimo-googleworkspace-translationreport)

[GoogleWorkspaceDiagnostics.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceDiagnostics.cs#L65)

Converts every notice in a translation report to a structured diagnostic entry.

Parameters

**report OfficeIMO.GoogleWorkspace.TranslationReport required**

Report to convert.

Returns

`IReadOnlyList<GoogleWorkspaceDiagnosticEntry>` A snapshot preserving notice order and metadata.

`public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(GoogleWorkspaceExportException exception)` [#](#method-todiagnosticentries-officeimo-googleworkspace-googleworkspaceexportexception)

[GoogleWorkspaceDiagnostics.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceDiagnostics.cs#L84)

Converts an export exception and its report to structured diagnostics.

Parameters

**exception OfficeIMO.GoogleWorkspace.GoogleWorkspaceExportException required**

Export failure to convert.

Returns

`IReadOnlyList<GoogleWorkspaceDiagnosticEntry>` A leading export-failure entry followed by the report notices.

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

<!-- PowerForge markdown artifact sha256:749D41E24436F0A870D792B1FCF7CAB485D3623C86F034AD40B3628009909B97 -->
