static object WithColorStyle(object o, TraceEvent traceEvent) { var color = traceEvent.GetColorMap(isBackgroundWhite: true); if (color == null) { return(o); } return(Util.WithStyle(o, "color:" + color.ToString())); }
static object WithColorStyle(object o, TraceEvent traceEvent) { var color = traceEvent.GetColorMap(isBackgroundWhite: true); if (color == null) return o; return Util.WithStyle(o, "color:" + color.ToString()); }