Initial commit: NexusArchitect Professional Workstation Overhaul

This commit is contained in:
Debian
2026-04-24 20:27:22 +02:00
commit f3e94c4f42
193 changed files with 5809 additions and 0 deletions
@@ -0,0 +1,22 @@
using Mapster;
using MapsterMapper;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
namespace NexusReader.Application.Mappings;
public static class MappingConfig
{
public static IServiceCollection AddMapsterConfiguration(this IServiceCollection services)
{
var config = TypeAdapterConfig.GlobalSettings;
// Manual registration for AOT (or use Source Generator)
// config.NewConfig<Source, Destination>();
services.AddSingleton(config);
services.AddScoped<IMapper, ServiceMapper>();
return services;
}
}