FloatModelBinder 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 Single and Nullable<T> where T
is
Single.
public ref class FloatModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder
public class FloatModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
type FloatModelBinder = class
interface IModelBinder
Public Class FloatModelBinder
Implements IModelBinder
- Inheritance
-
FloatModelBinder
- Implements
Constructors
FloatModelBinder(NumberStyles, ILoggerFactory) |
Initializes a new instance of FloatModelBinder. |
FloatModelBinder(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 FloatModelBinder. |
Methods
BindModelAsync(ModelBindingContext) |
Attempts to bind a model. |