Base:
12 references to ToString
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
354
httpContext.Response.Headers.ContentDisposition = contentDisposition.
ToString
();
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
354
httpContext.Response.Headers.ContentDisposition = contentDisposition.
ToString
();
Microsoft.AspNetCore.Mvc.Core.Test (1)
FileResultHelperTest.cs (1)
215
var actual = cd.
ToString
();
Microsoft.Net.Http.Headers.Tests (9)
ContentDispositionHeaderValueTest.cs (9)
395
Assert.Equal("inline", contentDisposition.
ToString
());
398
Assert.Equal("inline; name=myname", contentDisposition.
ToString
());
401
Assert.Equal("inline; name=myname; filename=\"my File Name\"", contentDisposition.
ToString
());
405
+ "\"Tue, 15 Feb 2011 08:00:00 GMT\"", contentDisposition.
ToString
());
409
+ "\"Tue, 15 Feb 2011 08:00:00 GMT\"; custom=\"custom value\"", contentDisposition.
ToString
());
413
+ "\"Tue, 15 Feb 2011 08:00:00 GMT\"; custom=\"custom value\"", contentDisposition.
ToString
());
418
contentDisposition.
ToString
());
422
+ " filename*=UTF-8\'\'File%25Name", contentDisposition.
ToString
());
426
contentDisposition.
ToString
());