internal void FlushLog() { if (((this._commands != null) && (this._commands.Count > 0)) && (this.logBuffer.Count != 0)) { MshLog.LogPipelineExecutionDetailEvent(this._commands[0].Command.Context, this.logBuffer, this._commands[0].Command.MyInvocation); } }