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