# HtmlCssAtRule

An at-rule retained without requiring the name or grammar to be recognized.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssRules.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L59)

**Base**

`HtmlCssRule`

**Modifiers**

sealed

An at-rule retained without requiring the name or grammar to be recognized.

## Inheritance

- [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)
- [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)
- HtmlCssAtRule

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 string GetText()` [#](#method-gettext)

[HtmlCssSyntaxNode.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L94)

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

Returns

`string`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public override string ToString()` [#](#method-tostring)

[HtmlCssSyntaxNode.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L96)

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

Returns

`string`

## Properties

`public string Name { get; }` [#](#property-name)

[HtmlCssRules.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L59)

Decoded at-rule name.

`public bool IsStatement { get; }` [#](#property-isstatement)

[HtmlCssRules.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L61)

Whether the rule ended with a semicolon or end of input instead of a block.

## Inherited Properties

`public IReadOnlyList<HtmlCssComponentValue> Prelude { get; }` [#](#property-prelude)

[HtmlCssRules.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L23)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public string PreludeText { get; }` [#](#property-preludetext)

[HtmlCssRules.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L27)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public HtmlCssSimpleBlock? Block { get; }` [#](#property-block)

[HtmlCssRules.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L34)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public IReadOnlyList<HtmlCssSyntaxNode> Contents { get; }` [#](#property-contents)

[HtmlCssRules.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L37)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public IReadOnlyList<HtmlCssDeclaration> Declarations { get; }` [#](#property-declarations)

[HtmlCssRules.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L41)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public IReadOnlyList<HtmlCssRule> Rules { get; }` [#](#property-rules)

[HtmlCssRules.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L45)

Inherited from [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

`public HtmlCssSyntaxKind Kind { get; }` [#](#property-kind)

[HtmlCssSyntaxNode.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L88)

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

`public HtmlCssSourceSpan Span { get; }` [#](#property-span)

[HtmlCssSyntaxNode.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L90)

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

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