Alemow is an annotation based IoC boostrapper, working with Autofac, and reducing registering complexity heavily.
var builder = new ContainerBuilder();
builder.AutoRegister(new SimpleAssemblySelector(Assembly.GetEntryAssembly()));
using (var container = builder.Build())
{
var a = container.Resolve<IA>();
a.Dump();
}
[Component]
public class A : IA
{
[Inject("B")] private readonly IB _b;
public void Dump()
{
Console.WriteLine(_b);
}
}
See Samples
for full usage.