using Autofac;
using e_suite.Database.Core;
using e_suite.Database.SqlServer;
using eSuite.Core.Clock;
namespace eSuite.API.DependencyInjection;
///
/// Used as a the primary location for IOC type registration for e-suite.
///
internal class CoreRegistrationModule : Module
{
///
/// Use the builder to register all the types and interfaces that the API requires to operate properly.
///
///
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType().As().InstancePerLifetimeScope();
builder.RegisterType().As().SingleInstance();
}
}