Partager via


DateTimeModelBinder(DateTimeStyles, ILoggerFactory) Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

supportedStyles
DateTimeStyles

L’DateTimeStylesopérateur

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à