# AsciiDocDirectiveContext

Context passed to an explicitly registered custom directive processor.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[AsciiDocExtensions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L23)

**Modifiers**

sealed

Context passed to an explicitly registered custom directive processor.

## Inheritance

- object
- AsciiDocDirectiveContext

## 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.

### Accepted by parameters 1

- Method [IAsciiDocDirectiveProcessor.Process](/api/ascii-doc/officeimo-asciidoc-iasciidocdirectiveprocessor/#method-process-officeimo-asciidoc-asciidocdirectivecontext) parameter `context`

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 string Name { get; }` [#](#property-name)

[AsciiDocExtensions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L23)

Directive name.

`public string Target { get; }` [#](#property-target)

[AsciiDocExtensions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L26)

Raw directive target.

`public string AttributeList { get; }` [#](#property-attributelist)

[AsciiDocExtensions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L29)

Raw content between square brackets.

`public string OriginalText { get; }` [#](#property-originaltext)

[AsciiDocExtensions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L32)

Exact directive line including its line ending.

`public string? SourceName { get; }` [#](#property-sourcename)

[AsciiDocExtensions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L35)

Source identifier, when known.

`public int Line { get; }` [#](#property-line)

[AsciiDocExtensions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L38)

One-based line number.

`public AsciiDocDocumentAttributes Attributes { get; }` [#](#property-attributes)

[AsciiDocExtensions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Processing/AsciiDocExtensions.cs#L41)

Attributes visible at the directive.

<!-- PowerForge markdown artifact sha256:483B183F513BCD5B19119A157386D7B40F61643B1E03CF9D67D58B39EA5996AC -->
