Пример #1
0
 public Path(Prefix prefix, string[] virtualPath, FileSystemSubsystem fileSystem)
 {
     Prefix      = prefix;
     VirtualPath = virtualPath;
     FileSystem  = fileSystem;
     RealPath    = fileSystem.GetRealPath(prefix, virtualPath);
 }
Пример #2
0
        public Prefix(string name, FileSystemSubsystem fileSystem)
        {
            //if (name.ToCharArray ().Any (c => c != '/')) {
            //	name = name.TrimEnd ('/');
            //}
            Name = name;

            FileSystem = fileSystem;
        }