Пример #1
0
        public override bool Equals(object obj)
        {
            VirtualNode other = obj as VirtualNode;

            if (other != null)
            {
                return(Path == other.Path);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
        public static VirtualNode ParseNativePath(string nativePath)
        {
            nativePath = PathHelper.NormalizePath(path: nativePath);

            VirtualNode result = null;

            foreach (FileSystemSubsystem subsystem in Subsystems)
            {
                result = subsystem.ParseNativePath(nativePath);
                if (result != null)
                {
                    break;
                }
            }
            return(result);
        }