# HtmlCapabilityGalleryResult

Result manifest for one HTML capability-gallery scenario.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlCapabilityGalleryResult.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L7)

**Modifiers**

sealed

Result manifest for one HTML capability-gallery scenario.

## Inheritance

- object
- HtmlCapabilityGalleryResult

## 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 [HtmlCapabilityGalleryManifest.Result](/api/html/officeimo-html-htmlcapabilitygallerymanifest/#property-result)

### Accepted by parameters 1

- Constructor [HtmlCapabilityGalleryManifest.HtmlCapabilityGalleryManifest](/api/html/officeimo-html-htmlcapabilitygallerymanifest/#constructor-ctor-officeimo-html-htmlcapabilitygalleryresult-officeimo-html-htmlconversionprofile-officeimo-html-htmlroundtripscore-officeimo-html-htmlresourcemanifest) parameter `result`

Filter members 

Show inherited

## Constructors

HtmlCapabilityGalleryResult 2 overloads

`public HtmlCapabilityGalleryResult(HtmlCapabilityGalleryScenario scenario)` [#](#constructor-ctor-officeimo-html-htmlcapabilitygalleryscenario)

[HtmlCapabilityGalleryResult.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L7)

Creates a mutable capability-gallery result builder for compatibility with existing producers. A manifest takes an immutable snapshot when it is constructed.

Parameters

**scenario OfficeIMO.Html.HtmlCapabilityGalleryScenario required**

Scenario proven by the result.

`public HtmlCapabilityGalleryResult(HtmlCapabilityGalleryScenario scenario, IEnumerable<HtmlCapabilityGalleryArtifact> artifacts, IEnumerable<HtmlDiagnostic> diagnostics)` [#](#constructor-ctor-officeimo-html-htmlcapabilitygalleryscenario-collections-generic-ienumerable-officeimo-html-htmlcapabilitygalleryartifact-collections-generic-ienumerable-officeimo-html-htmldiagnostic)

[HtmlCapabilityGalleryResult.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L31)

Creates a capability-gallery result.

Parameters

**scenario OfficeIMO.Html.HtmlCapabilityGalleryScenario required**

Scenario proven by the result.

**artifacts System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlCapabilityGalleryArtifact> required**

Artifacts emitted for the scenario. The sequence is copied.

**diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlDiagnostic> required**

Diagnostics captured while generating the scenario. The sequence is copied.

## Methods

`public void AddArtifact(HtmlCapabilityGalleryArtifact artifact)` [#](#method-addartifact-officeimo-html-htmlcapabilitygalleryartifact)

[HtmlCapabilityGalleryResult.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L67)

Adds an artifact to a mutable result builder.

Parameters

**artifact OfficeIMO.Html.HtmlCapabilityGalleryArtifact required**

## 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 HtmlCapabilityGalleryScenario Scenario { get; }` [#](#property-scenario)

[HtmlCapabilityGalleryResult.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L50)

Scenario proven by the result.

`public IReadOnlyList<HtmlCapabilityGalleryArtifact> Artifacts { get; }` [#](#property-artifacts)

[HtmlCapabilityGalleryResult.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L55)

Artifacts emitted for the scenario.

`public HtmlDiagnosticReport Diagnostics { get; private set; }` [#](#property-diagnostics)

[HtmlCapabilityGalleryResult.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L60)

Shared diagnostics captured while generating the scenario artifacts.

`public bool IsReadOnly { get; private set; }` [#](#property-isreadonly)

[HtmlCapabilityGalleryResult.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryResult.cs#L63)

True when this result is a finalized immutable snapshot.

<!-- PowerForge markdown artifact sha256:466794279C38EF47A6DE3E3A9EEC2C3599C9F5CEB8AE88BB6263F3FC167E7125 -->
