1 write to ObjectType
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\OutputFormatterWriteContext.cs (1)
27ObjectType = objectType;
8 references to ObjectType
Microsoft.AspNetCore.Mvc.Core (6)
Formatters\HttpNoContentOutputFormatter.cs (2)
25if (context.ObjectType == typeof(void) || context.ObjectType == typeof(Task))
Formatters\OutputFormatter.cs (1)
106if (!CanWriteType(context.ObjectType))
Formatters\StringOutputFormatter.cs (1)
33if (context.ObjectType == typeof(string) || context.Object is string)
Formatters\SystemTextJsonOutputFormatter.cs (2)
75if (context.ObjectType is not null) 77var declaredTypeJsonInfo = SerializerOptions.GetTypeInfo(context.ObjectType);
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerOutputFormatter.cs (1)
228var valueType = context.ObjectType;
XmlSerializerOutputFormatter.cs (1)
207var valueType = context.ObjectType!;