DateTimeModelBinder(DateTimeStyles, ILoggerFactory) 构造函数

定义

初始化 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)

参数

supportedStyles
DateTimeStyles

DateTimeStyles

适用于