public IScope WithSpan(ISpan span)
        {
            if (span == null)
            {
                throw new ArgumentNullException(nameof(span));
            }

            return(CurrentSpanUtils.WithSpan(span, true));
        }
 public IScope StartScopedSpan(out ISpan currentSpan)
 {
     currentSpan = this.StartSpan();
     return(CurrentSpanUtils.WithSpan(currentSpan, true));
 }
 public IScope StartScopedSpan()
 {
     return(CurrentSpanUtils.WithSpan(this.StartSpan(), true));
 }