1 write to ModelType
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
80ModelType = metadata.ModelType;
16 references to ModelType
Microsoft.AspNetCore.Mvc.Abstractions (3)
Formatters\IInputFormatter.cs (2)
13/// <paramref name="context"/>'s <see cref="InputFormatterContext.ModelType"/>. 18/// <paramref name="context"/>'s <see cref="InputFormatterContext.ModelType"/>. <c>false</c> otherwise.
Formatters\InputFormatterContext.cs (1)
88/// <see cref="ModelType"/>.
Microsoft.AspNetCore.Mvc.Core (5)
Formatters\InputFormatter.cs (2)
50if (!CanReadType(context.ModelType)) 104return InputFormatterResult.SuccessAsync(GetDefaultValueForType(context.ModelType));
Formatters\SystemTextJsonInputFormatter.cs (2)
66model = await JsonSerializer.DeserializeAsync(inputStream, context.ModelType, SerializerOptions); 108Log.JsonInputSuccess(_logger, context.ModelType);
ModelBinding\Binders\BodyModelBinder.cs (1)
234var modelType = formatterContext.ModelType.FullName;
Microsoft.AspNetCore.Mvc.Formatters.Xml (6)
XmlDataContractSerializerInputFormatter.cs (3)
143var type = GetSerializableType(context.ModelType); 149if (type != context.ModelType) 153deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType);
XmlSerializerInputFormatter.cs (3)
125var type = GetSerializableType(context.ModelType); 133if (type != context.ModelType) 137deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
NewtonsoftJsonInputFormatter.cs (1)
150var type = context.ModelType;
NewtonsoftJsonPatchInputFormatter.cs (1)
85var modelType = context.ModelType;