Exemplo n.º 1
0
        public static void SetFlag(string flag, bool value)
        {
            JollyDebug self  = JollyDebug.Instance;
            int        index = self.IndexOfFlag(flag);

            if (index >= 0)
            {
                self.FlagValues[index] = value;
            }
        }
Exemplo n.º 2
0
        public static bool GetFlag(string flag)
        {
            JollyDebug self  = JollyDebug.Instance;
            int        index = self.IndexOfFlag(flag);

            if (index < 0)
            {
                return(false);
            }
            return(!self.FlagValues[index]);
        }