JsonMinAttribute
A class in Root.Township, Alta.Utilities.
JSON property attribute that keeps a float at or above a minimum whenever the property is read or written through Newtonsoft.
- Listed in Utilities and other Alta namespaces
- Inherits or implements
JsonPropertyFilterAttribute
Constructors
| Member | What it is |
|---|---|
JsonMinAttribute(float min) | Creates a JsonMinAttribute from min. |
Fields
Methods
| Member | What it is |
|---|---|
override IValueProvider Filter(IValueProvider baseProvider) | Wraps the property's value provider in a JsonMinValueProvider. |