public Tracer() { result = new TraceResult(); }
public MemoryStream serialize(TraceResult traceResult) { byte[] bytes = Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(traceResult, Formatting.Indented)); return(new MemoryStream(bytes)); }