This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-toolbuilder-cil/src/MfGames.ToolBuilder/ToolBuilderModule.cs
Dylan R. E. Moonfire ad0525be04 feat: initial commit
2021-09-10 12:33:42 -05:00

21 lines
524 B
C#

using Autofac;
namespace MfGames.ToolBuilder
{
/// <summary>
/// The Autofac module to pull in the components inside this assembly.
/// </summary>
public class ToolBuilderModule : Module
{
/// <inheritdoc />
protected override void Load(ContainerBuilder builder)
{
builder
.RegisterAssemblyTypes(this.GetType().Assembly)
.Except<ToolService>()
.AsSelf()
.AsImplementedInterfaces();
}
}
}