Base:
14 references to ToString
Microsoft.AspNetCore.Http.Results (2)
TypedResults.cs (2)
174return new(content, mediaTypeHeaderValue?.ToString(), statusCode); 184=> new(content, contentType.ToString());
Microsoft.AspNetCore.Mvc.Core (10)
ControllerBase.cs (1)
290ContentType = contentType?.ToString()
FileContentResult.cs (1)
39: base(contentType.ToString())
FileStreamResult.cs (1)
39: base(contentType.ToString())
Formatters\FormatterMappings.cs (1)
45_map[format] = contentType.ToString();
Formatters\MediaTypeCollection.cs (3)
22Add(item.ToString()); 39Insert(index, item.ToString()); 53return Remove(item.ToString());
Infrastructure\SystemTextJsonResultExecutor.cs (1)
21}.ToString();
PhysicalFileResult.cs (1)
38: base(contentType.ToString())
VirtualFileResult.cs (1)
39: base(contentType.ToString())
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
257ContentType = contentType?.ToString()
PageModel.cs (1)
589ContentType = contentType?.ToString()