public FormatResultsResultProcessor(SearchSPIndexCmdlet cmdlet) :
     base(cmdlet)
 {
     if (IsEndOfPipeline())
     {
         formatter = new Helpers.ConsoleFormatter(cmdlet);
         formatter.FormatDividerLine();
     }
 }
Beispiel #2
0
        protected override void BeginProcessing()
        {
            base.BeginProcessing();

            formatter = new Helpers.ConsoleFormatter(this);
            formatter.SummaryHitHighlightColor = Color;
            formatter.TitleColor  = TitleColor;
            formatter.NumberColor = NumberColor;
            formatter.PathColor   = PathColor;

            formatter.FormatDividerLine();
        }