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