private static IRegistrationBuilder<object, IConcreteActivatorData, SingleRegistrationStyle> ApplyResolver(ContainerBuilder builder, DynamicResolver resolver) { return builder.Register(ctx => resolver.FactoryFunc()); }
private static LambdaInstance<object> ApplyResolver(GenericFamilyExpression builder, DynamicResolver resolver) { return builder.Add(c => resolver.FactoryFunc()); }