public DelegatingEnricher(Action<LogEvent, ILogEventPropertyFactory> enrich) { if (enrich == null) throw new ArgumentNullException(nameof(enrich)); _enrich = enrich; }