HtmlBuilder Methods |
The HtmlBuilder type exposes the following members.
Name | Description | |
---|---|---|
Append(IEnumerableIHtmlString) |
Appends multiple IHtmlString instances to this HtmlBuilder instance.
| |
Append(FormattableString) |
Appends a FormattableString to this HtmlBuilder instance.
Static parts of the template will be considered safe and won't be encoded while variable
parts (between '{' and '}') will be html encoded.
| |
Append(FormattableString) |
Appends a FormattableString to this HtmlBuilder instance.
Static parts of the template will be considered safe and won't be encoded while variable
parts (between '{' and '}') will be html encoded.
| |
Append(IHtmlString) |
Appends a IHtmlString to this HtmlBuilder instance.
| |
Append(IHtmlString) |
Appends multiple IHtmlString instances to this HtmlBuilder instance.
| |
Append(IEnumerableHtml) |
Appends multiple Html instances to this HtmlBuilder instance.
| |
AppendText |
Appends (and encodes) a string to this HtmlBuilder instance.
| |
Clear |
Removes all characters from this HtmlBuilder | |
Create |
Initializes a new instance of the HtmlBuilder class.
This will use the current culture for formatting.
| |
ToHtmlString | Returns an HTML-encoded string. | |
ToString | Returns an HTML-encoded string (same behavior as ToHtmlString). (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |