# AsciiDocReferenceCatalog

A source-ordered snapshot of explicit anchors, generated section IDs, and footnotes, including compound blocks.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[AsciiDocReferenceCatalog.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L31)

**Modifiers**

sealed

A source-ordered snapshot of explicit anchors, generated section IDs, and footnotes, including compound blocks.

## Inheritance

- object
- AsciiDocReferenceCatalog

## Usage

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

- Method [AsciiDocReferenceCatalog.Create](/api/ascii-doc/officeimo-asciidoc-asciidocreferencecatalog/#method-create-officeimo-asciidoc-asciidocdocument-int32-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public static AsciiDocReferenceCatalog Create(AsciiDocDocument document, int maximumNestingDepth = 64, CancellationToken cancellationToken = default)` [#](#method-create-officeimo-asciidoc-asciidocdocument-int32-threading-cancellationtoken)

[AsciiDocReferenceCatalog.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L42)

Builds a bounded snapshot without preprocessing includes or fetching resources.

Parameters

**document OfficeIMO.AsciiDoc.AsciiDocDocument required**

**maximumNestingDepth int = 64 optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`AsciiDocReferenceCatalog`

`public string? GetBlockId(AsciiDocBlock block)` [#](#method-getblockid-officeimo-asciidoc-asciidocblock)

[AsciiDocReferenceCatalog.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L35)

Gets the catalog's explicit or generated ID for a block, or null when it has none.

Parameters

**block OfficeIMO.AsciiDoc.AsciiDocBlock required**

Returns

`string?`

`public string? GetFootnoteLabel(AsciiDocFootnoteInline footnote)` [#](#method-getfootnotelabel-officeimo-asciidoc-asciidocfootnoteinline)

[AsciiDocReferenceCatalog.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L31)

Finds the stable catalog label for a source footnote or returns null.

Parameters

**footnote OfficeIMO.AsciiDoc.AsciiDocFootnoteInline required**

Returns

`string?`

## 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 IReadOnlyDictionary<string, AsciiDocReferenceTarget> Targets { get; }` [#](#property-targets)

[AsciiDocReferenceCatalog.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L25)

Explicit and generated anchor targets, keyed with ordinal comparison.

`public IReadOnlyDictionary<string, AsciiDocFootnoteInline> Footnotes { get; }` [#](#property-footnotes)

[AsciiDocReferenceCatalog.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L27)

Footnote definitions in source order. Repeated references share one definition.

`public IReadOnlyList<AsciiDocReferenceDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[AsciiDocReferenceCatalog.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Model/AsciiDocReferenceCatalog.cs#L29)

Duplicate targets, conflicting definitions, and dangling references.

<!-- PowerForge markdown artifact sha256:0BF38062DAE710DA053D8B825017B1D12D0E3BBB5BEE6CB9439407031B9639AE -->
