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