refactor(ADConfigurationOptions): rename MediatRLicense as MediatRLicenseKey

This commit is contained in:
Developer 02 2025-08-02 19:33:10 +02:00
parent 409e43460d
commit 39982139d3

View File

@ -13,7 +13,7 @@ public static class DependencyInjection
services.AddMediatR(cfg =>
{
cfg.RegisterServicesFromAssemblies(typeof(DependencyInjection).Assembly);
cfg.LicenseKey = cOptions.MediatRLicense;
cfg.LicenseKey = cOptions.MediatRLicenseKey;
});
if (cOptions.Configuration is null)
@ -28,7 +28,7 @@ public static class DependencyInjection
{
internal ADConfigurationOptions() { }
public string? MediatRLicense { get; set; }
public string? MediatRLicenseKey { get; set; }
public IConfiguration? Configuration { get; set; }
}