public ActivationItem( ImportanceLevel metricThreshold, LogEventLevel textualThreshold, IEnumerable <ActivationFilter> filters) { Threshold = new ActivationThreshold(metricThreshold, textualThreshold); Filters = filters?.ToArray() ?? Array.Empty <ActivationFilter>(); }
public ActivationSetting( ImportanceLevel metricThreshold, LogEventLevel textualThreshold, IEnumerable <ActivationItem> constricts, IEnumerable <ActivationItem> extends) : base(/*metricThreshold, textualThreshold, */ constricts, extends) { Threshold = new ActivationThreshold(metricThreshold, textualThreshold); }