feat(application): add DocumentOperator.Application PDF signing contracts

This commit is contained in:
2026-10-22 02:26:07 +02:00
parent de5e2d613f
commit 3b4134e873
11 changed files with 430 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace DocumentOperator.Application;
public static class DependencyInjection
{
public static IServiceCollection AddDocumentOperatorApplication(this IServiceCollection services, IConfiguration configuration)
{
services.AddMediatR(cfg =>
{
cfg.LicenseKey = configuration.GetValue<string>("LuckyPennySoftLicenseKey");
cfg.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly);
});
return services;
}
}