public static IInterceptronInterceptor ToInterceptronInterceptor(this DispatchProxyInterceptor interceptor) { if (interceptor == null) { throw new ArgumentNullException(nameof(interceptor)); } return(new InterceptronInterceptorAdapter(interceptor)); }
public InterceptronInterceptorAdapter(DispatchProxyInterceptor interceptor) { this.Interceptor = interceptor ?? throw new ArgumentNullException(nameof(interceptor)); }