You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
446 B
16 lines
446 B
using Autofac;
|
|
using Recyclarr.TrashLib.ApiServices.System;
|
|
|
|
namespace Recyclarr.TrashLib.ApiServices;
|
|
|
|
public class ApiServicesAutofacModule : Module
|
|
{
|
|
protected override void Load(ContainerBuilder builder)
|
|
{
|
|
base.Load(builder);
|
|
builder.RegisterType<SystemApiService>().As<ISystemApiService>();
|
|
builder.RegisterType<ServiceInformation>().As<IServiceInformation>()
|
|
.InstancePerLifetimeScope();
|
|
}
|
|
}
|