Esempio n. 1
0
 public TestVirtualDirectory(string virtualPath) : base(virtualPath)
 {
     _VirtualPath   = virtualPath;
     _PhysicalPath  = Path.Combine(TestVirtualPathProvider.RootFolder, TestVirtualPathProvider.ReformatPath(virtualPath));
     _DirectoryInfo = new DirectoryInfo(_PhysicalPath);
 }
Esempio n. 2
0
 public TestVirtualFile(string virtualPath) : base(virtualPath)
 {
     _VirtualPath  = virtualPath;
     _PhysicalPath = Path.Combine(TestVirtualPathProvider.RootFolder, TestVirtualPathProvider.ReformatPath(virtualPath));
     _FileInfo     = new FileInfo(_PhysicalPath);
 }