FormatBuilder Methods

Formats values.
Name Description
Currency(JS) Specifies the currency code. Applies only if the type is “currency”.
Currency(String) Specifies the currency code. Applies only if the type is “currency”.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Formatter(RazorBlock) Mirrors the client-side formatter option.
Formatter(String) Mirrors the client-side formatter option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
Parser(RazorBlock) Mirrors the client-side parser option.
Parser(String) Mirrors the client-side parser option.
Precision(JS) Specifies a precision for values of a numeric format.
Precision(Double) Specifies a precision for values of a numeric format.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
Type(Format) Specifies a predefined format. Does not apply if you have specified the formatter function.
See Also