forgot this in extension method.
This commit is contained in:
		
							parent
							
								
									dc031e02fe
								
							
						
					
					
						commit
						ff3860bf50
					
				@ -4,7 +4,7 @@ namespace PoweredSoft.Module.Abstractions
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    public static class ServiceCollectionExtensions
 | 
					    public static class ServiceCollectionExtensions
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        public static IServiceCollection AddModule<T>(IServiceCollection services)
 | 
					        public static IServiceCollection AddModule<T>(this IServiceCollection services)
 | 
				
			||||||
            where T : IModule, new()
 | 
					            where T : IModule, new()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var module = new T();
 | 
					            var module = new T();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user