public virtual void WriteObject(object sendToPipeline, bool enumerateCollection) { if (_Writer == null || sendToPipeline == null) { return; } _Writer.WriteObject(sendToPipeline, enumerateCollection); }
public override void WriteObject(object sendToPipeline, bool enumerateCollection) { if (!(sendToPipeline is InvokeResult result)) { return; } ProcessResult(result); if (_InnerWriter != null) { _InnerWriter.WriteObject(sendToPipeline, enumerateCollection); } }