public Type CreateProxyType(Type serviceType)
    {
        if (null == serviceType)
        {
            throw new ArgumentNullException(nameof(serviceType));
        }

        if (serviceType.IsInterface)
        {
            return(ProxyUtils.CreateInterfaceProxy(serviceType));
        }
        return(ProxyUtils.CreateClassProxy(serviceType, serviceType));
    }