示例#1
0
        // Removes SubItem colors (also called column colors) from all objects.
        public static void ClearSubItemColors()
        {
            UsedSubitemColors.Clear();

            TraceLevelObjects.RemoveSubitemColors();
            LoggerObjects.RemoveSubitemColors();
            MethodObjects.RemoveSubitemColors();
            SessionObjects.RemoveSubitemColors();
            ThreadObjects.RemoveSubitemColors();
            ThreadNames.RemoveSubitemColors();
        }
示例#2
0
        private static void RefreshUsedSubItemColors()
        {
            UsedSubitemColors.Clear();

            LoggerObjects.TrackSubitemColors(UsedSubitemColors);
            MethodObjects.TrackSubitemColors(UsedSubitemColors);
            SessionObjects.TrackSubitemColors(UsedSubitemColors);
            ThreadObjects.TrackSubitemColors(UsedSubitemColors);
            ThreadNames.TrackSubitemColors(UsedSubitemColors);

            UsedSubitemColors.Remove(null);
        }
示例#3
0
        // Gets or makes the MethodObject with the specified name.
        private MethodObject GetMethod(string methodName)
        {
            MethodObject method;

            if (!_foundMethods.TryGetValue(methodName, out method))
            {
                if (!_oldMethods.TryGetValue(methodName, out method))
                {
                    method      = new MethodObject();
                    method.Name = methodName;
                }

                _foundMethods.Add(methodName, method);
                MethodObjects.Add(method);
            }

            return(method);
        }