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