Esempio n. 1
0
        public static bool RemoveDubiousReason(Result result, DubiousResultEnum reason)
        {
            if (!result.DubiousResult.HasFlag(reason)) return false;

            result.DubiousResult &= ~reason;
            return true;
        }
Esempio n. 2
0
        public static bool AddDubiousReason( Result result, DubiousResultEnum reason )
        {
            if ( result.DubiousResult.HasFlag( reason )) return false;

            result.DubiousResult = result.DubiousResult | reason;
            return true;
        }
Esempio n. 3
0
        public static bool RemoveDubiousReason(Result result, DubiousResultEnum reason)
        {
            if (!result.DubiousResult.HasFlag(reason))
            {
                return(false);
            }

            result.DubiousResult &= ~reason;
            return(true);
        }
Esempio n. 4
0
        public static bool AddDubiousReason(Result result, DubiousResultEnum reason)
        {
            if (result.DubiousResult.HasFlag(reason))
            {
                return(false);
            }

            result.DubiousResult = result.DubiousResult | reason;
            return(true);
        }