DecimalModelBinder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IModelBinder for Decimal and Nullable<T> where T
is
Decimal.
public ref class DecimalModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder
public class DecimalModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
type DecimalModelBinder = class
interface IModelBinder
Public Class DecimalModelBinder
Implements IModelBinder
- Inheritance
-
DecimalModelBinder
- Implements
Constructors
DecimalModelBinder(NumberStyles, ILoggerFactory) |
Initializes a new instance of DecimalModelBinder. |
DecimalModelBinder(NumberStyles) |
Obsolete.
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory. Initializes a new instance of DecimalModelBinder. |
Methods
BindModelAsync(ModelBindingContext) |
Attempts to bind a model. |