AlertBlock Class

A block representing an alert quote block.

public class AlertBlock : QuoteBlock
Inheritance
QuoteBlock AlertBlock

Constructors

NameDescription
AlertBlock(StringSlice)Creates a new instance of this block.

AlertBlock(StringSlice)

AlertBlock.cs

Creates a new instance of this block.

public AlertBlock(StringSlice kind)

Parameters

kind StringSlice

Properties

NameDescription
KindGets or sets the kind of the alert block (e.g `NOTE`, `TIP`, `IMPORTANT`, `WARNING`, `CAUTION`).
TriviaSpaceAfterKindGets or sets the trivia space after the kind.

Gets or sets the kind of the alert block (e.g `NOTE`, `TIP`, `IMPORTANT`, `WARNING`, `CAUTION`).

public StringSlice Kind { get; set; }

Property value

StringSlice

TriviaSpaceAfterKind

AlertBlock.cs

Gets or sets the trivia space after the kind.

public StringSlice TriviaSpaceAfterKind { get; set; }

Property value

StringSlice