21 lines
545 B
C#
21 lines
545 B
C#
using Abp.Dependency;
|
|
using Castle.Windsor.MsDependencyInjection;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using SplashPage.Identity;
|
|
|
|
namespace SplashPage.Benchmarks.DependencyInjection
|
|
{
|
|
public static class ServiceCollectionRegistrar
|
|
{
|
|
public static void Register(IIocManager iocManager)
|
|
{
|
|
var services = new ServiceCollection();
|
|
|
|
IdentityRegistrar.Register(services);
|
|
|
|
WindsorRegistrationHelper.CreateServiceProvider(iocManager.IocContainer, services);
|
|
}
|
|
}
|
|
|
|
}
|