Base:
14 references to ToString
Microsoft.AspNetCore.Http.Results (2)
TypedResults.cs (2)
174
return new(content, mediaTypeHeaderValue?.
ToString
(), statusCode);
184
=> new(content, contentType.
ToString
());
Microsoft.AspNetCore.Mvc.Core (10)
ControllerBase.cs (1)
290
ContentType = 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)
22
Add(item.
ToString
());
39
Insert(index, item.
ToString
());
53
return 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)
257
ContentType = contentType?.
ToString
()
PageModel.cs (1)
589
ContentType = contentType?.
ToString
()