Compartilhar via


DateTimeModelBinder(DateTimeStyles, ILoggerFactory) Construtor

Definição

Inicializa uma nova instância 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)

Parâmetros

supportedStyles
DateTimeStyles

O DateTimeStyles.

loggerFactory
ILoggerFactory

O ILoggerFactory.

Aplica-se a