Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void SetInboundTotal(MyResultObj resultObj)
 {
     InboundCount = resultObj.OutboundData?.Count() ?? resultObj.InboundData?.Count() ?? 0;
 }
Esempio n. 3
0
 protected abstract bool IsApplicable(MyResultObj input);