You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
490 B
C#
20 lines
490 B
C#
namespace Ds.WMS.MogonDb
|
|
{
|
|
[DsStartup(9)]
|
|
public class MogonForLoginAppStartup : IDynamicStartup
|
|
{
|
|
public void Configure(WebApplication app)
|
|
{
|
|
}
|
|
|
|
public void ConfigureServices(WebApplicationBuilder builder)
|
|
{
|
|
var assembly = AppDomain.CurrentDomain.Load("Ds.WMS.MogonDb");
|
|
|
|
builder.Services.AddMediatR(c =>
|
|
{
|
|
c.RegisterServicesFromAssembly(assembly);
|
|
});
|
|
}
|
|
}
|
|
} |