Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.HtmlBuilder Class

This class is used to build HTML content.

Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Inheritance

Syntax

public class HtmlBuilder;

Constructors

PublicHtmlBuilderConstructor.

Properties

PublicLengthGets or sets the length of the current YetaWF.Core.Support.HtmlBuilder object.

Methods

PublicStaticAddClass(not specified)
PublicStaticAnonymousObjectToHtmlAttributesConverts an anonymous object, a RouteValueDictionary or a Dictionary<string, object> object to a dictionary.
PublicStaticAntiForgeryTokenCreates and returns an antiforgery token (HTML).
PublicAppendAppends a string to the current HTML content.
PublicStaticAttributesReturns a string of formatted attributes given a dictionary of attributes.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicStaticGetClassAttributeReturns a complete class= CSS attribute including all classes defined in attributes.
PublicStaticGetClasses(not specified)
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicStaticGetId(not specified)
PublicStaticGetIdCondReturns the id defined in attributes, or null.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveRemoves the specified range of characters from this instance.
PublicRemoveLastRemoves the last character.
PublicReplaceReplaces all occurrences of a specified string in this instance with another specified string.
PublicToStringConverts the value of this instance to a System.String.

See Also YetaWF.Core Overview