EnumTypeModelBinder 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.
IModelBinder implementation to bind models for types deriving from Enum.
public ref class EnumTypeModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::Binders::SimpleTypeModelBinder
public class EnumTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder
type EnumTypeModelBinder = class
inherit SimpleTypeModelBinder
Public Class EnumTypeModelBinder
Inherits SimpleTypeModelBinder
- Inheritance
Constructors
EnumTypeModelBinder(Boolean, Type, ILoggerFactory) |
Initializes a new instance of EnumTypeModelBinder. |
Methods
BindModelAsync(ModelBindingContext) |
Attempts to bind a model. (Inherited from SimpleTypeModelBinder) |
CheckModel(ModelBindingContext, ValueProviderResult, Object) |
If the |