Base:
12 references to ToString
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
354httpContext.Response.Headers.ContentDisposition = contentDisposition.ToString();
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
354httpContext.Response.Headers.ContentDisposition = contentDisposition.ToString();
Microsoft.AspNetCore.Mvc.Core.Test (1)
FileResultHelperTest.cs (1)
215var actual = cd.ToString();
Microsoft.Net.Http.Headers.Tests (9)
ContentDispositionHeaderValueTest.cs (9)
395Assert.Equal("inline", contentDisposition.ToString()); 398Assert.Equal("inline; name=myname", contentDisposition.ToString()); 401Assert.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()); 418contentDisposition.ToString()); 422+ " filename*=UTF-8\'\'File%25Name", contentDisposition.ToString()); 426contentDisposition.ToString());