1 write to Metadata
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
77
Metadata
= metadata;
4 references to Metadata
Microsoft.AspNetCore.Mvc.Core (3)
Formatters\SystemTextJsonInputFormatter.cs (2)
74
context.ModelState.TryAddModelError(path, modelStateException, context.
Metadata
);
85
context.ModelState.TryAddModelError(string.Empty, exception, context.
Metadata
);
Formatters\TextInputFormatter.cs (1)
46
context.ModelState.AddModelError(context.ModelName, exception, context.
Metadata
);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
307
var metadata = GetPathMetadata(context.
Metadata
, path);