1 instantiation of TryParseModelBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\TryParseModelBinderProvider.cs (1)
22
return new
TryParseModelBinder
(context.Metadata.ModelType, loggerFactory);
3 references to TryParseModelBinder
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Binders\TryParseModelBinder.cs (3)
17
private static readonly MethodInfo AddModelErrorMethod = typeof(
TryParseModelBinder
).GetMethod(nameof(AddModelError), BindingFlags.NonPublic | BindingFlags.Static)!;
39
_logger = loggerFactory.CreateLogger(typeof(
TryParseModelBinder
));
111
?? throw new InvalidOperationException(Resources.FormatTryParseModelBinder_InvalidType(modelType, nameof(
TryParseModelBinder
)));