コード例 #1
0
 public Span(TraceHeader traceHeader, IPEndPoint endpoint, ICollection <Annotation> annotations, ICollection <BinaryAnnotation> binaryAnnotations, string serviceName, string name)
 {
     TraceHeader       = traceHeader;
     ServiceName       = serviceName ?? "Unknown";
     Name              = name ?? "Unknown";
     Annotations       = annotations;
     BinaryAnnotations = binaryAnnotations;
     Endpoint          = endpoint;
 }
コード例 #2
0
 public Span(TraceHeader traceHeader, IPEndPoint endpoint, string serviceName = null, string name = null)
 {
     TraceHeader       = traceHeader;
     ServiceName       = serviceName ?? "Unknown";
     Name              = name ?? "Unknown";
     Annotations       = new List <Annotation>();
     BinaryAnnotations = new List <BinaryAnnotation>();
     Endpoint          = endpoint;
 }
コード例 #3
0
 public Span(TraceHeader traceHeader, string serviceName = null)
     : this(traceHeader, new IPEndPoint(0, 0), serviceName)
 {
 }