Quick start:
Register components with a ContainerBuilder
and then build the component container.
ContainerBuilder containerBuilder = new ContainerBuilder();
containerBuilder.Register<string>((c, t) => "Test");
containerBuilder.Register<User>((c, t) => new User()
{
Name = c.Resolve<string>()
}).As<IUser>();
containerBuilder.Register<ItemData>();
containerBuilder.Register<UserData>();
containerBuilder.RegisterAssemplyTypes(Assembly.GetExecutingAssembly())
.Where(e => e.ConstructionType.Name.EndsWith("View"));
IContainer container = containerBuilder.Build();
Resolve services from the container:
UserData userData = container.Resolve<UserData>();