Freigeben über


DateTimeModelBinder(DateTimeStyles, ILoggerFactory) Konstruktor

Definition

Initialisiert eine neue Instanz von 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)

Parameter

supportedStyles
DateTimeStyles

Die DateTimeStyles.

loggerFactory
ILoggerFactory

Die ILoggerFactory.

Gilt für: