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.
15 lines
416 B
15 lines
416 B
using Autofac;
|
|
|
|
namespace TrashLib.Repo.VersionControl;
|
|
|
|
public class VersionControlAutofacModule : Module
|
|
{
|
|
protected override void Load(ContainerBuilder builder)
|
|
{
|
|
builder.RegisterType<GitRepository>().As<IGitRepository>();
|
|
builder.RegisterType<GitRepositoryFactory>().As<IGitRepositoryFactory>();
|
|
builder.RegisterType<GitPath>().As<IGitPath>();
|
|
base.Load(builder);
|
|
}
|
|
}
|