public void StopProcessTime(MyResultObj resultObj, string filterName) { var metaData = new PipelineMetadata { Filter = filterName, FilterDeltaTime = DateTime.Now.Subtract(ProcessStartTime), InboundDataCount = InboundCount, OutboundDataCount = resultObj.OutboundData?.Count() ?? resultObj.InboundData.Count() }; resultObj.PipelineMetadata.Add(metaData); }
public void SetInboundTotal(MyResultObj resultObj) { InboundCount = resultObj.OutboundData?.Count() ?? resultObj.InboundData?.Count() ?? 0; }
protected abstract bool IsApplicable(MyResultObj input);