DateTimeModelBinder(DateTimeStyles, ILoggerFactory) Constructor
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.
Initializes a new instance of DateTimeModelBinder.
public:
DateTimeModelBinder(System::Globalization::DateTimeStyles supportedStyles, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DateTimeModelBinder (System.Globalization.DateTimeStyles supportedStyles, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder : System.Globalization.DateTimeStyles * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinder
Public Sub New (supportedStyles As DateTimeStyles, loggerFactory As ILoggerFactory)
Parameters
- supportedStyles
- DateTimeStyles
The DateTimeStyles.
- loggerFactory
- ILoggerFactory
The ILoggerFactory.