refactor(ADConfigurationOptions): rename MediatRLicense as MediatRLicenseKey
This commit is contained in:
parent
409e43460d
commit
39982139d3
@ -13,7 +13,7 @@ public static class DependencyInjection
|
|||||||
services.AddMediatR(cfg =>
|
services.AddMediatR(cfg =>
|
||||||
{
|
{
|
||||||
cfg.RegisterServicesFromAssemblies(typeof(DependencyInjection).Assembly);
|
cfg.RegisterServicesFromAssemblies(typeof(DependencyInjection).Assembly);
|
||||||
cfg.LicenseKey = cOptions.MediatRLicense;
|
cfg.LicenseKey = cOptions.MediatRLicenseKey;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (cOptions.Configuration is null)
|
if (cOptions.Configuration is null)
|
||||||
@ -28,7 +28,7 @@ public static class DependencyInjection
|
|||||||
{
|
{
|
||||||
internal ADConfigurationOptions() { }
|
internal ADConfigurationOptions() { }
|
||||||
|
|
||||||
public string? MediatRLicense { get; set; }
|
public string? MediatRLicenseKey { get; set; }
|
||||||
|
|
||||||
public IConfiguration? Configuration { get; set; }
|
public IConfiguration? Configuration { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user