# HtmlCapabilityGalleryExpectation

Describes one expected proof item in an HTML capability-gallery manifest.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlCapabilityGalleryExpectation.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryExpectation.cs#L39)

**Modifiers**

sealed

Describes one expected proof item in an HTML capability-gallery manifest.

## Inheritance

- object
- HtmlCapabilityGalleryExpectation

## 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.Expectations](/api/html/officeimo-html-htmlcapabilitygallerymanifest/#property-expectations)

### 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-collections-generic-ienumerable-officeimo-html-htmlcapabilitygalleryexpectation) parameter `expectations`

Filter members 

Show inherited

## Constructors

`public HtmlCapabilityGalleryExpectation(string feature, HtmlCapabilityGalleryExpectationOutcome outcome, string evidence)` [#](#constructor-ctor-string-officeimo-html-htmlcapabilitygalleryexpectationoutcome-string)

[HtmlCapabilityGalleryExpectation.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryExpectation.cs#L39)

Creates a proof expectation.

Parameters

**feature string required**

Stable feature or behavior name.

**outcome OfficeIMO.Html.HtmlCapabilityGalleryExpectationOutcome required**

Expected proof outcome.

**evidence string required**

Expected artifact, diagnostic, score, or readback signal proving the outcome.

## 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 Feature { get; }` [#](#property-feature)

[HtmlCapabilityGalleryExpectation.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryExpectation.cs#L46)

Stable feature or behavior name.

`public HtmlCapabilityGalleryExpectationOutcome Outcome { get; }` [#](#property-outcome)

[HtmlCapabilityGalleryExpectation.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryExpectation.cs#L49)

Expected proof outcome.

`public string Evidence { get; }` [#](#property-evidence)

[HtmlCapabilityGalleryExpectation.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryExpectation.cs#L52)

Expected artifact, diagnostic, score, or readback signal proving the outcome.

<!-- PowerForge markdown artifact sha256:3EC2FD41B4A0C15F0838FF53AFEA4091C7142023EA0B95D8B0D751B1113E2292 -->
