# HtmlTargetCapabilityContract

Describes one built-in HTML target, its public APIs, and feature-level contract.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlTargetCapabilityContract.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L6)

**Modifiers**

sealed

Describes one built-in HTML target, its public APIs, and feature-level contract.

## Inheritance

- object
- HtmlTargetCapabilityContract

## Usage

Explore 3 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 3

- Property [HtmlConversionPreflight.Contract](/api/html/officeimo-html-htmlconversionpreflight/#property-contract)
- Method [HtmlTargetCapabilityContracts.Get](/api/html/officeimo-html-htmltargetcapabilitycontracts/#method-get-officeimo-html-htmlconversiontarget)
- Property [HtmlTargetCapabilityContracts.All](/api/html/officeimo-html-htmltargetcapabilitycontracts/#property-all)

Filter members 

Show inherited

## Constructors

`public HtmlTargetCapabilityContract(HtmlConversionTarget target, string packageName, string artifactName, HtmlToTargetCapabilityContract htmlToTarget, TargetToHtmlCapabilityContract? targetToHtml = null)` [#](#constructor-ctor-officeimo-html-htmlconversiontarget-string-string-officeimo-html-htmltotargetcapabilitycontract-officeimo-html-targettohtmlcapabilitycontract)

[HtmlTargetCapabilityContract.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L6)

Creates a target contract from independently classified conversion routes.

Parameters

**target OfficeIMO.Html.HtmlConversionTarget required**

**packageName string required**

**artifactName string required**

**htmlToTarget OfficeIMO.Html.HtmlToTargetCapabilityContract required**

**targetToHtml OfficeIMO.Html.TargetToHtmlCapabilityContract? = 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 HtmlConversionTarget Target { get; }` [#](#property-target)

[HtmlTargetCapabilityContract.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L20)

Target identifier used by preflight and adapter selection.

`public string PackageName { get; }` [#](#property-packagename)

[HtmlTargetCapabilityContract.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L22)

Package that owns the thin target projection.

`public string ArtifactName { get; }` [#](#property-artifactname)

[HtmlTargetCapabilityContract.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L24)

Native or rendered artifact produced by the target.

`public HtmlToTargetCapabilityContract HtmlToTarget { get; }` [#](#property-htmltotarget)

[HtmlTargetCapabilityContract.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L26)

HTML-to-target route, including its own profiles and feature partition.

`public TargetToHtmlCapabilityContract? TargetToHtml { get; }` [#](#property-targettohtml)

[HtmlTargetCapabilityContract.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L28)

Target-to-HTML route, or null when unavailable.

`public string ImportEntryPoint { get; }` [#](#property-importentrypoint)

[HtmlTargetCapabilityContract.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L30)

Primary public HTML import entry point.

`public string ImportResultContract { get; }` [#](#property-importresultcontract)

[HtmlTargetCapabilityContract.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L32)

Public result or evidence contract returned by the import path.

`public string? ExportEntryPoint { get; }` [#](#property-exportentrypoint)

[HtmlTargetCapabilityContract.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L34)

Primary reverse HTML entry point, or null when no reverse path exists.

`public string? ExportResultContract { get; }` [#](#property-exportresultcontract)

[HtmlTargetCapabilityContract.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L36)

Reverse conversion evidence contract, or null when unavailable.

`public bool SupportsReverseHtml { get; }` [#](#property-supportsreversehtml)

[HtmlTargetCapabilityContract.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Capabilities/HtmlTargetCapabilityContract.cs#L38)

Whether the target exposes a reverse artifact-to-HTML route.

<!-- PowerForge markdown artifact sha256:E1E8FC2FE7E502CBA1F09FF719868F01E682DDD8B15F8DF5B373F764E3BCE902 -->
