FormatterOptionAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Adds a formatter option
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
public class FormatterOptionAttribute : Attribute
| parameter | description |
|---|---|
| key | The key. |
| value | The value. |
Public Members
| name | description |
|---|---|
| FormatterOptionAttribute(…) | Adds a formatter option |
| Key { get; } | Gets the option key. |
| Value { get; } | Gets the option value. |
Remarks
Initializes a new instance of the FormatterOptionAttribute class.
See Also
- Source: FormatterOptionAttribute.cs