internal static Type GetConfiguratorType(Type targetType) { return(TypeRepository.GetOrAdd(targetType, t => new ConfiguratorBuilder( t, ProxyBuilderTests.CreateTargetType(t), ProxyBuilderTests.GetMemberNamesProvider(t), Static.ModuleBinder.Value) .CreateConfiguratorType())); }