internal override void EndProcessing() { base.EndProcessing(); if (this.command != null) { Array array = this.command.ShutDown(); if (array != null) { foreach (object obj2 in array) { this.ProcessObject(PSObjectHelper.AsPSObject(obj2)); } } } if (this.LineOutput.RequiresBuffering) { Microsoft.PowerShell.Commands.Internal.Format.LineOutput.DoPlayBackCall playback = new Microsoft.PowerShell.Commands.Internal.Format.LineOutput.DoPlayBackCall(this.DrainCache); this.LineOutput.ExecuteBufferPlayBack(playback); } else { this.DrainCache(); } }
internal override void EndProcessing() { base.EndProcessing(); if (this.command != null) { Array array = this.command.ShutDown(); if (array != null) { foreach (object obj2 in array) { this.ProcessObject(PSObjectHelper.AsPSObject(obj2)); } } } if (this.LineOutput.RequiresBuffering) { Microsoft.PowerShell.Commands.Internal.Format.LineOutput.DoPlayBackCall playback = new Microsoft.PowerShell.Commands.Internal.Format.LineOutput.DoPlayBackCall(this.DrainCache); this.LineOutput.ExecuteBufferPlayBack(playback); } else { this.DrainCache(); } }