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.
12 lines
414 B
C#
12 lines
414 B
C#
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace DS.Module.Core.Modules;
|
|
|
|
public static class ApplicationInitializationExtensions
|
|
{
|
|
public static IApplicationBuilder GetApplicationBuilder(this ApplicationContext applicationContext)
|
|
{
|
|
return applicationContext.ServiceProvider.GetRequiredService<IObjectAccessor<IApplicationBuilder>>().Value;
|
|
}
|
|
} |