This repository was archived by the owner on Feb 20, 2025. It is now read-only.
File tree 1 file changed +4
-4
lines changed
src/Shiny.Extensions.WebHosting
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ public static WebApplicationBuilder AddInfrastructureForAppDomain(this WebApplic
29
29
} )
30
30
. ToArray ( ) ;
31
31
32
- return builder . AddInfrastructureWithAssemblies ( assemblies ) ;
32
+ return builder . AddInfrastructure ( assemblies ) ;
33
33
}
34
34
35
35
36
- public static WebApplicationBuilder AddInfrastructureWithAssemblies ( this WebApplicationBuilder builder , params Assembly [ ] assemblies )
36
+ public static WebApplicationBuilder AddInfrastructure ( this WebApplicationBuilder builder , params Assembly [ ] assemblies )
37
37
{
38
38
if ( assemblies . Length == 0 )
39
39
throw new InvalidOperationException ( "No assemblies passed to scan" ) ;
@@ -54,15 +54,15 @@ public static WebApplicationBuilder AddInfrastructureWithAssemblies(this WebAppl
54
54
{
55
55
Console . WriteLine ( "Registering Infrastructure Module: " + moduleType . FullName ) ;
56
56
var module = ( IInfrastructureModule ) Activator . CreateInstance ( moduleType ) ! ;
57
- builder . AddInfrastructureWithModules ( module ) ;
57
+ builder . AddInfrastructureModules ( module ) ;
58
58
Console . WriteLine ( "Successfully Registered Infrastructure Module: " + moduleType . FullName ) ;
59
59
}
60
60
}
61
61
return builder ;
62
62
}
63
63
64
64
65
- public static WebApplicationBuilder AddInfrastructureWithModules ( this WebApplicationBuilder builder , params IInfrastructureModule [ ] modules )
65
+ public static WebApplicationBuilder AddInfrastructureModules ( this WebApplicationBuilder builder , params IInfrastructureModule [ ] modules )
66
66
{
67
67
foreach ( var module in modules )
68
68
{
You can’t perform that action at this time.
0 commit comments