Ejemplo n.º 1
0
        private static Brush GetFillBrush(this ProfilingDataPoint point)
        {
            if (point.Instance.HasExecutionPending)
            {
                return(ExecutionRequestedBrush);
            }

            if (!point.Instance.Executed)
            {
                return(NotExecutedBrush);
            }

            return(null);
        }
Ejemplo n.º 2
0
 private static Brush GetStrokeBrush(this ProfilingDataPoint point)
 {
     return(!point.Selected ? Brushes.Transparent : (Brush)SelectedBrush);
 }