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