示例#1
0
        public virtual void WriteObject(object sendToPipeline, bool enumerateCollection)
        {
            if (_Writer == null || sendToPipeline == null)
            {
                return;
            }

            _Writer.WriteObject(sendToPipeline, enumerateCollection);
        }
示例#2
0
            public override void WriteObject(object sendToPipeline, bool enumerateCollection)
            {
                if (!(sendToPipeline is InvokeResult result))
                {
                    return;
                }

                ProcessResult(result);
                if (_InnerWriter != null)
                {
                    _InnerWriter.WriteObject(sendToPipeline, enumerateCollection);
                }
            }