File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/CodeOfChaos.Extensions.DependencyInjection.Generators Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ public static class SourceCodes {
1717 // -----------------------------------------------------------------------------------------------------------------
1818 public static string GetInjectableGenerator ( string assemblyName ) => $$ """
1919 // <auto-generated />
20- using Microsoft.Extensions.DependencyInjection;
2120 using {{ assemblyName }} ._CodeOfChaosGenerated;
22- namespace {{ assemblyName }} ;
23- public static class CodeOfChaos_InjectableRegistration {
21+ namespace Microsoft.Extensions.DependencyInjection ;
22+ public static class __ {{ assemblyName . Replace ( "." , "" ) }} _InjectableRegistration {
2423 public static IServiceCollection RegisterServicesFrom{{ assemblyName . Replace ( "." , "" ) }} (this IServiceCollection services){
2524 InjectableUtility.RegisterServices(services);
2625 InjectableUtility.RegisterSingleton(services);
You can’t perform that action at this time.
0 commit comments