Skip to content

CustomFormatterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Base class for custom formatter type attributes

[AttributeUsage(AttributeTargets.All)]
public abstract class CustomFormatterAttribute : FormatterTypeAttribute
parameter description
formatterType Type of the formatter.

Public Members

name description
override SetParams(…) Sets the parameters for formatter.

Protected Members

name description
CustomFormatterAttribute(…) Base class for custom formatter type attributes
GetOption<TType>(…) Gets value of an option.
SetOption(…) Sets the option.

Remarks

Initializes a new instance of the CustomFormatterAttribute class.

See Also