示例#1
0
        public static bool IsContainedWithinFreeSpace(PatchRange range, FreeSpaceMode mode)
        {
            foreach (PatchRange freeSpaceRange in GetRanges(mode))
            {
                if (range.IsContainedWithin(freeSpaceRange))
                {
                    return(true);
                }
            }

            return(false);
        }
示例#2
0
        public static bool IsContainedWithinPsxFreeSpace(PatchRange range)
        {
            foreach (PatchRange freeSpaceRange in PsxRanges)
            {
                if (range.IsContainedWithin(freeSpaceRange))
                {
                    return(true);
                }
            }

            return(false);
        }