1 instantiation of StaticFileResponseContext
Microsoft.AspNetCore.StaticFiles (1)
StaticFileContext.cs (1)
274
var context = new
StaticFileResponseContext
(_context, _fileInfo);
8 references to StaticFileResponseContext
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Components\Shared\src\CacheHeaderSettings.cs (1)
11
internal static void SetCacheHeaders(
StaticFileResponseContext
ctx)
Microsoft.AspNetCore.Components.Server (1)
src\aspnetcore\src\Components\Shared\src\CacheHeaderSettings.cs (1)
11
internal static void SetCacheHeaders(
StaticFileResponseContext
ctx)
Microsoft.AspNetCore.StaticFiles (6)
StaticFileContext.cs (1)
274
var
context = new StaticFileResponseContext(_context, _fileInfo);
StaticFileOptions.cs (4)
15
internal static readonly Action<
StaticFileResponseContext
> _defaultOnPrepareResponse = _ => { };
16
internal static readonly Func<
StaticFileResponseContext
, Task> _defaultOnPrepareResponseAsync = _ => Task.CompletedTask;
69
public Action<
StaticFileResponseContext
> OnPrepareResponse { get; set; }
78
public Func<
StaticFileResponseContext
, Task> OnPrepareResponseAsync { get; set; }
StaticFileResponseContext.cs (1)
15
/// Constructs the <see cref="
StaticFileResponseContext
"/>.