using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Feign.Standalone.Reflection
{
    class StandaloneFeignClientHttpProxyTypeBuilder : FeignClientHttpProxyTypeBuilder
    {
        protected override Type GetParentType(Type parentType)
        {
            if (typeof(FallbackFactoryFeignClientHttpProxy<,>) == parentType.GetGenericTypeDefinition())
            {
                return typeof(StandaloneFallbackFactoryFeignClientHttpProxy<,>).MakeGenericType(parentType.GetGenericArguments());
            }