예제 #1
0
        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()));
        }
예제 #2
0
        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());
        }