Exemple #1
0
        public void Output_DataReady(object sender, EventArgs e)
        {
            var output = sender as PipelineReader <PSObject>;

            while (output.Count > 0)
            {
                ConsoleHelp.Write(output.Read(), Module);
            }
        }
Exemple #2
0
        void Output_DataAdded(object sender, DataAddedEventArgs e)
        {
            var output = sender as PSDataCollection <PSObject>;

            ConsoleHelp.Write(output[e.Index], Module);
        }