Share via


DateTimeModelBinder(DateTimeStyles, ILoggerFactory) Constructor

Definition

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.

Applies to