protected VirtualDirectoryInfo(VirtualDirectoryInfo parent, string path)
			: this()
		{
			this.FileInfo = parent.FileInfo;
			this.VirtualPath = path;
			if (parent != null) {
				this.parent = parent;
				this.Files = parent.Files;
			}
		}
Exemple #2
0
 protected VirtualDirectoryInfo(VirtualDirectoryInfo parent, string path)
     : this()
 {
     this.FileInfo    = parent.FileInfo;
     this.VirtualPath = path;
     if (parent != null)
     {
         this.parent = parent;
         this.Files  = parent.Files;
     }
 }
Exemple #3
0
		protected override VirtualDirectoryInfo CreateDirectory (VirtualDirectoryInfo parent, string path)
		{
			return new RarDirectoryInfo((RarDirectoryInfo)parent, path);
		}
		protected override VirtualDirectoryInfo CreateDirectory (VirtualDirectoryInfo parent, string path)
		{
			return new SharpCompressDirectoryInfo((SharpCompressDirectoryInfo)parent, path);
		}
		protected virtual VirtualFileInfo CreateFile(VirtualDirectoryInfo parent, string path)
		{
			return new VirtualFileInfo(parent, path);
		}
		protected abstract VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path);
Exemple #7
0
 protected virtual VirtualFileInfo CreateFile(VirtualDirectoryInfo parent, string path)
 {
     return(new VirtualFileInfo(parent, path));
 }
Exemple #8
0
 protected abstract VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path);
Exemple #9
0
 protected override VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path)
 {
     return(new ZipDirectoryInfo((ZipDirectoryInfo)parent, path));
 }
Exemple #10
0
		public VirtualFileInfo(VirtualDirectoryInfo parent, string file)
		{
			this.parent = parent;
			this.file = file;
		}
Exemple #11
0
 protected override VirtualDirectoryInfo CreateDirectory(VirtualDirectoryInfo parent, string path)
 {
     return(new SharpCompressDirectoryInfo((SharpCompressDirectoryInfo)parent, path));
 }
Exemple #12
0
 public VirtualFileInfo(VirtualDirectoryInfo parent, string file)
 {
     this.parent = parent;
     this.file   = file;
 }