public ServerNativeInterceptor(IServiceProvider serviceProvider, IServerCallInterceptorFactory callInterceptorFactory) { serviceProvider.AssertNotNull(nameof(serviceProvider)); callInterceptorFactory.AssertNotNull(nameof(callInterceptorFactory)); _interceptor = callInterceptorFactory.CreateInterceptor(serviceProvider); }
internal ServerNativeInterceptor(IServerCallInterceptor interceptor) { interceptor.AssertNotNull(nameof(interceptor)); _interceptor = interceptor; }