[Test] public void Example() { var implTypes = new [] { typeof(A), typeof(B) }; var container = new Container(rules => rules.WithDynamicRegistrationsAsFallback( Rules.AutoFallbackDynamicRegistrations((_, __) => implTypes))); var b = container.Resolve <B>(); Assert.IsNotNull(b.A); }