3 writes to OnPrepareResponseAsync
Microsoft.AspNetCore.StaticFiles (1)
StaticFileOptions.cs (1)
32
OnPrepareResponseAsync
= _defaultOnPrepareResponseAsync;
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileMiddlewareTests.cs (2)
258
OnPrepareResponseAsync
= context =>
307
OnPrepareResponseAsync
= context =>
4 references to OnPrepareResponseAsync
Microsoft.AspNetCore.StaticFiles (4)
StaticFileContext.cs (2)
272
if (_options.OnPrepareResponse != StaticFileOptions._defaultOnPrepareResponse || _options.
OnPrepareResponseAsync
!= StaticFileOptions._defaultOnPrepareResponseAsync)
276
return _options.
OnPrepareResponseAsync
(context);
StaticFileOptions.cs (2)
67
/// <see cref="OnPrepareResponse" /> is called before <see cref="
OnPrepareResponseAsync
" />.
76
/// <see cref="OnPrepareResponse" /> is called before <see cref="
OnPrepareResponseAsync
" />.