Ejemplo n.º 1
0
        // all the Set/Is methods expect absolute paths (as opposed to the way they're
        // actually stored)

        public void SetPathHidden(string path, bool isHidden)
        {
            path = GetRelativePath(path);

            if (isHidden)
            {
                hiddenPaths.Add(path);
            }
            else
            {
                hiddenPaths.Remove(path);
            }
        }
Ejemplo n.º 2
0
        // all the Set/Is methods expect absolute paths (as opposed to the way they're
        // actually stored)

        public void SetPathHidden(string path, bool isHidden)
        {
            path = GetRelativePath(path);

            if (isHidden)
            {
                hiddenPaths.Add(path);
                compileTargets.RemoveAtOrBelow(path); // can't compile hidden files
                libraryAssets.RemoveAtOrBelow(path);  // can't embed hidden resources
            }
            else
            {
                hiddenPaths.Remove(path);
            }
        }