public static IToken Intercept <T>([NotNull] this IMutableContainer container, [NotNull][ItemNotNull] params IInterceptor[] interceptors) { if (container == null) { throw new ArgumentNullException(nameof(container)); } if (interceptors == null) { throw new ArgumentNullException(nameof(interceptors)); } return(container.Intercept(new Key(typeof(T)), interceptors)); }