File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/ImageSharp.Web.Tests/TestUtilities Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ protected void ConfigureServices(IServiceCollection services)
6868 return onParseCommandsAsync . Invoke ( context ) ;
6969 } ;
7070
71- Func < ImageCommandContext , DecoderOptions , Task > onBeforeLoadAsync = options . OnBeforeLoadAsync ;
71+ Func < ImageCommandContext , Configuration , Task < DecoderOptions ? > > onBeforeLoadAsync = options . OnBeforeLoadAsync ;
7272
73- options . OnBeforeLoadAsync = ( context , decoderOptions ) =>
73+ options . OnBeforeLoadAsync = ( context , configuration ) =>
7474 {
7575 Assert . NotNull ( context ) ;
76- Assert . NotNull ( decoderOptions ) ;
76+ Assert . NotNull ( configuration ) ;
7777
78- return onBeforeLoadAsync . Invoke ( context , decoderOptions ) ;
78+ return onBeforeLoadAsync . Invoke ( context , configuration ) ;
7979 } ;
8080
8181 Func < ImageProcessingContext , Task > onProcessedAsync = options . OnProcessedAsync ;
You can’t perform that action at this time.
0 commit comments