Exemple #1
0
        public override HostTestFlags GetTestFlags()
        {
            CheckDisposed();

            if (hostTestFlags == HostTestFlags.Invalid)
            {
                hostTestFlags = HostTestFlags.None;
            }

            return(hostTestFlags);
        }
Exemple #2
0
        ///////////////////////////////////////////////////////////////////////

        public static bool HasFlags(
            HostTestFlags flags,
            HostTestFlags hasFlags,
            bool all
            )
        {
            if (all)
            {
                return((flags & hasFlags) == hasFlags);
            }
            else
            {
                return((flags & hasFlags) != HostTestFlags.None);
            }
        }