3 writes to OnPrepareResponseAsync
Microsoft.AspNetCore.StaticFiles (1)
StaticFileOptions.cs (1)
32OnPrepareResponseAsync = _defaultOnPrepareResponseAsync;
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileMiddlewareTests.cs (2)
258OnPrepareResponseAsync = context => 307OnPrepareResponseAsync = context =>
4 references to OnPrepareResponseAsync
Microsoft.AspNetCore.StaticFiles (4)
StaticFileContext.cs (2)
272if (_options.OnPrepareResponse != StaticFileOptions._defaultOnPrepareResponse || _options.OnPrepareResponseAsync != StaticFileOptions._defaultOnPrepareResponseAsync) 276return _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" />.