public GrpcActivatorHandle <Interceptor> Create(IServiceProvider serviceProvider, InterceptorRegistration interceptorRegistration)
        {
            if (interceptorRegistration.Arguments.Count == 0)
            {
                var globalInterceptor = serviceProvider.GetService <TInterceptor>();
                if (globalInterceptor != null)
                {
                    return(new GrpcActivatorHandle <Interceptor>(globalInterceptor, created: false, state: null));
                }
            }

            // Cache factory on registration
            var factory = interceptorRegistration.GetFactory();

            var interceptor = (TInterceptor)factory(serviceProvider, interceptorRegistration._args);

            return(new GrpcActivatorHandle <Interceptor>(interceptor, created: true, state: null));
        }