public SegmentContext CreateLocalSegmentContext(string operationName) { if (operationName == null) { throw new ArgumentNullException(nameof(operationName)); } return(_segmentContextFactory.CreateLocalSegment(operationName)); }
public SegmentContext CreateLocalSegmentContext(string operationName, long startTimeMilliseconds = default) { if (operationName == null) { throw new ArgumentNullException(nameof(operationName)); } return(_segmentContextFactory.CreateLocalSegment(operationName, startTimeMilliseconds)); }