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)
68
68
return onParseCommandsAsync . Invoke ( context ) ;
69
69
} ;
70
70
71
- Func < ImageCommandContext , DecoderOptions , Task > onBeforeLoadAsync = options . OnBeforeLoadAsync ;
71
+ Func < ImageCommandContext , Configuration , Task < DecoderOptions ? > > onBeforeLoadAsync = options . OnBeforeLoadAsync ;
72
72
73
- options . OnBeforeLoadAsync = ( context , decoderOptions ) =>
73
+ options . OnBeforeLoadAsync = ( context , configuration ) =>
74
74
{
75
75
Assert . NotNull ( context ) ;
76
- Assert . NotNull ( decoderOptions ) ;
76
+ Assert . NotNull ( configuration ) ;
77
77
78
- return onBeforeLoadAsync . Invoke ( context , decoderOptions ) ;
78
+ return onBeforeLoadAsync . Invoke ( context , configuration ) ;
79
79
} ;
80
80
81
81
Func < ImageProcessingContext , Task > onProcessedAsync = options . OnProcessedAsync ;
You can’t perform that action at this time.
0 commit comments