payments #94

Merged
khwezi merged 2 commits from payments into master 2026-06-09 21:53:53 +02:00
Showing only changes of commit e7f02eca9b - Show all commits
@@ -4,11 +4,11 @@ namespace LiteCharms.Features.MidrandBooks.Extensions;
public static class Shop
{
public static IServiceCollection AddShopServices(this IServiceCollection services)
public static IServiceCollection AddShopServices(this IServiceCollection services, Assembly assembly)
{
var serviceType = typeof(IService);
var implementations = Assembly.GetExecutingAssembly().GetTypes()
var implementations = assembly.GetTypes()
.Where(t => serviceType.IsAssignableFrom(t) && t.IsClass && !t.IsAbstract);
foreach (var implementation in implementations)