示例#1
0
 public Span(@string Name = default, SpanContext ID = default, SpanID ParentID = default, sync.Mutex mu = default, core.Event start = default, core.Event finish = default, slice <core.Event> events = default)
 {
     this.Name     = Name;
     this.ID       = ID;
     this.ParentID = ParentID;
     this.mu       = mu;
     this.start    = start;
     this.finish   = finish;
     this.events   = events;
 }
示例#2
0
文件: printer.cs 项目: zjmit/go2cs
 private static void WriteEvent(this ptr <Printer> _addr_p, io.Writer w, core.Event ev, label.Map lm)
 {
     ref Printer p = ref _addr_p.val;
示例#3
0
文件: log.cs 项目: zjmit/go2cs
 private static context.Context ProcessEvent(this ptr <logWriter> _addr_w, context.Context ctx, core.Event ev, label.Map lm) => func((defer, _, __) =>
示例#4
0
 private static context.Context ProcessEvent(this ptr <Exporter> _addr_e, context.Context ctx, core.Event ev, label.Map ln) => func((defer, _, __) =>