HtmlForgeX

API Reference

Class

EmailDnsRecordsTable

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Element
Implements
Modifiers sealed

Email-safe DNS records table for domain configuration instructions. Renders technical values in monospace without requiring raw HTML in user code.

Inheritance

Constructors

Methods

AddRecord 3 overloads
public EmailDnsRecordsTable AddRecord(String type, String name, String value, String ttl = "", Nullable<Int32> priority = null) #
Returns: EmailDnsRecordsTable

Adds a DNS record.

Parameters

type HtmlForgeX.Email.EmailDnsRecordType requiredposition: 0
name System.String requiredposition: 1
value System.String requiredposition: 2
ttl System.String = "" optionalposition: 3
priority System.Nullable{System.Int32} = null optionalposition: 4
AddRecord(System.String type, System.String name, System.String value, System.String ttl, System.Nullable{System.Int32} priority) #

Adds a DNS record.

Parameters

type System.String required
name System.String required
value System.String required
ttl System.String required
priority System.Nullable{System.Int32} required
public EmailDnsRecordsTable AddRecord(Action<EmailDnsRecord> configure) #
Returns: EmailDnsRecordsTable

Adds a record configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailDnsRecord} requiredposition: 0
public override String ToString() #
Returns: String

Properties

public List<EmailDnsRecord> Records { get; } #

DNS records rendered by the table.

public EmailTableStyle TableStyle { get; set; } #

Table visual style.

public EmailTablePadding TablePadding { get; set; } #

Padding level for table cells.

public Boolean ShowTtl { get; set; } #

Whether to show the TTL column.

public Boolean ShowPriorityWhenPresent { get; set; } #

Whether to include the Priority column when any record includes it.

public Boolean BreakAllValues { get; set; } #

Whether to use aggressive wrapping for long values.

public String TypeHeader { get; set; } #

Column header text for the type column.

public String NameHeader { get; set; } #

Column header text for the name/host column.

public String ValueHeader { get; set; } #

Column header text for the value column.

public String TtlHeader { get; set; } #

Column header text for the TTL column.

public String PriorityHeader { get; set; } #

Column header text for the priority column.