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.
17 lines
547 B
17 lines
547 B
using Autofac;
|
|
using Recyclarr.TrashLib.Services.Sonarr.Api;
|
|
using Recyclarr.TrashLib.Services.Sonarr.Capabilities;
|
|
|
|
namespace Recyclarr.TrashLib.Services.Sonarr;
|
|
|
|
public class SonarrAutofacModule : Module
|
|
{
|
|
protected override void Load(ContainerBuilder builder)
|
|
{
|
|
builder.RegisterType<SonarrTagApiService>().As<ISonarrTagApiService>();
|
|
builder.RegisterType<SonarrCapabilityEnforcer>();
|
|
builder.RegisterType<SonarrCapabilityChecker>().As<ISonarrCapabilityChecker>()
|
|
.InstancePerLifetimeScope();
|
|
}
|
|
}
|