# HtmlResourceReference

Resource dependency discovered during OfficeIMO HTML resource planning.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Resource dependency discovered during OfficeIMO HTML resource planning.

## Inheritance

- object
- HtmlResourceReference

## 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 [HtmlResourceDependencyPlan.AllowedResources](/api/html/officeimo-html-htmlresourcedependencyplan/#property-allowedresources)
- Property [HtmlResourceDependencyPlan.BlockedResources](/api/html/officeimo-html-htmlresourcedependencyplan/#property-blockedresources)
- Property [HtmlResourceManifest.Resources](/api/html/officeimo-html-htmlresourcemanifest/#property-resources)

Filter members 

Show inherited

## 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 HtmlResourceKind Kind { get; }` [#](#property-kind)

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

Resource kind.

`public string ElementName { get; }` [#](#property-elementname)

[HtmlResourceReference.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceReference.cs#L23)

Element name where the dependency was found.

`public string AttributeName { get; }` [#](#property-attributename)

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

Attribute name where the dependency was found.

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

[HtmlResourceReference.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceReference.cs#L29)

Raw source value.

`public string ResolvedSource { get; }` [#](#property-resolvedsource)

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

Resolved source value, empty when blocked or unresolved.

`public bool IsAllowed { get; }` [#](#property-isallowed)

[HtmlResourceReference.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Resources/HtmlResourceReference.cs#L35)

Whether the source passed URL policy evaluation.

`public string DiagnosticCode { get; }` [#](#property-diagnosticcode)

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

Diagnostic code associated with blocked or degraded resource handling.

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