HtmlForgeX

API Reference

Class

ElementExtensions

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Modifiers static

Extension methods for Element.

Inheritance

  • Object
  • ElementExtensions

Methods

public static T AddRange<T>(T element, IEnumerable<Element> elements) #
Returns: T

Type Parameters

T

Parameters

element T requiredposition: 0
elements IEnumerable<Element> requiredposition: 1
AddRange``1(``0 element, System.Collections.Generic.IEnumerable{HtmlForgeX.Email.Element} elements) #

Adds a collection of child elements to the target element. Null values are ignored.

Type Parameters

T
Type of the target element.

Parameters

element ``0 required
The parent element.
elements System.Collections.Generic.IEnumerable{HtmlForgeX.Email.Element} required
Collection of child elements to add.

Returns

The parent element for fluent chaining.