internal InvokeRulePipeline(PipelineContext context, Source[] source, PipelineReader reader, PipelineWriter writer, RuleOutcome outcome) : base(context, source, reader, writer) { HostHelper.ImportResource(source: Source, context: context); _RuleGraph = HostHelper.GetRuleBlockGraph(source: Source, context: context); RuleCount = _RuleGraph.Count; if (RuleCount == 0) { Context.WarnRuleNotFound(); } _Outcome = outcome; _Summary = new Dictionary <string, RuleSummaryRecord>(); _ResultFormat = context.Option.Output.As.Value; _SuppressionFilter = new RuleSuppressionFilter(context.Option.Suppression); }